Cloud APIs
MemoryStoresApi
dequeueItems

dequeueItems

Dequeues queue items.

Parameters

NameTypeDescription
universeIdIdentifierThe id of the universe to remove queue items from.
queuestringName of the Queue.
readIdstringID returned from a previous Read Queue call. It will discard all items that were read from the previous call.

Example

await MemoryStoresApi.dequeueItems({
  universeId: 5243626809,
  queue: "MyQueue",
  readId: "5cfc27af46da4cf08b41aa9a3d78a75e",
}); 

Endpoint

POST /v2/universes/{universeId}/memory-store/queues/{queue}/items:discard