Skip to content

MemoryStoreQueue

Not yet Class Other NotCreatable NotReplicated

Provides access to a queue within MemoryStore.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members ยท 10 modern Roblox members not implemented yet

Description

Provides access to a queue within MemoryStore. A queue is a data structure that provides temporary storage for arbitrary items (up to the maximum item size -- see MemoryStore Limits). Each queue item has a numeric priority: MemoryStore retrieves items with higher priority from the queue first, and it retrieves Items with the same priority in order of addition.

Items in the queue can optionally be set to expire after a certain amount of time. Expired items simply disappear from the queue as if they were never added.

Inheritance

Object โ†’ Instance โ†’ MemoryStoreQueue

Methods

Member Signature Summary
AddAsync MemoryStoreQueue:AddAsync(value: Variant, expiration: int64, priority: double = 0): null Adds an item to the queue.
GetSizeAsync MemoryStoreQueue:GetSizeAsync(excludeInvisible: bool = false): int Gets the size of the queue.
ReadAsync MemoryStoreQueue:ReadAsync(count: int, allOrNothing: bool = false, waitTimeout: double = -1): Tuple Reads one or more items from the queue.
RemoveAsync MemoryStoreQueue:RemoveAsync(id: string): null Removes an item or items previously read from the queue.

Roblox reference: MemoryStoreQueue

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.