Provides access to a queue within MemoryStore.
Its interface does not cross the network boundary.
Instances of this class cannot be created with Instance.new.
Tags: [NotCreatable, NotReplicated]
History Member 573 AddAsync ( value: Variant , expiration: int64 , priority: double = 0 ) : null 674 GetSizeAsync ( excludeInvisible: bool = false ) : int 481 ReadAsync ( count: int , allOrNothing: bool = false , waitTimeout: double = -1 ) : Tuple 573 RemoveAsync ( id: string ) : null 60 members inherited from Instance726 Archivable : bool 726 Capabilities : SecurityCapabilities 726 DataCost : int 726 IsInSandbox : bool 726 Name : string 726 Parent : Instance 726 PredictionMode : PredictionMode 726 RobloxLocked : bool 726 Sandboxed : bool 726 SourceAssetId : int64 726 UniqueId : UniqueId 726 archivable : bool 576 AddTag ( tag: string ) : null 573 ClearAllChildren ( ) : null 462 Clone ( ) : Instance 573 Destroy ( ) : null 486 FindFirstAncestor ( name: string ) : Instance 486 FindFirstAncestorOfClass ( className: string ) : Instance 486 FindFirstAncestorWhichIsA ( className: string ) : Instance 486 FindFirstChild ( name: string , recursive: bool = false ) : Instance 486 FindFirstChildOfClass ( className: string ) : Instance 486 FindFirstChildWhichIsA ( className: string , recursive: bool = false ) : Instance 486 FindFirstDescendant ( name: string ) : Instance 563 GetActor ( ) : Actor 486 GetAttribute ( attribute: string ) : Variant 462 GetAttributeChangedSignal ( attribute: string ) : RBXScriptSignal 631 GetAttributes ( ) : Dictionary 648 GetChildren ( ) : Instances 462 GetDebugId ( scopeLength: int = 4 ) : string 707 GetDescendants ( ) : Instances 486 GetFullName ( ) : string 706 GetStyled ( name: string , selector: string? ) : Variant 657 GetStyledPropertyChangedSignal ( property: string ) : RBXScriptSignal 576 GetTags ( ) : Array 576 HasTag ( tag: string ) : bool 486 IsAncestorOf ( descendant: Instance ) : bool 486 IsDescendantOf ( ancestor: Instance ) : bool 664 IsPropertyModified ( property: string ) : bool 698 QueryDescendants ( selector: string ) : Instances 573 Remove ( ) : null 576 RemoveTag ( tag: string ) : null 664 ResetPropertyToDefault ( property: string ) : null 573 SetAttribute ( attribute: string , value: Variant ) : null 462 WaitForChild ( childName: string , timeOut: double ) : Instance 726 children ( ) : Instances 726 clone ( ) : Instance 726 destroy ( ) : null 726 findFirstChild ( name: string , recursive: bool = false ) : Instance 726 getChildren ( ) : Instances 726 isDescendantOf ( ancestor: Instance ) : bool 726 remove ( ) : null 462 AncestryChanged ( child: Instance , parent: Instance ) 462 AttributeChanged ( attribute: string ) 462 ChildAdded ( child: Instance ) 462 ChildRemoved ( child: Instance ) 462 DescendantAdded ( descendant: Instance ) 462 DescendantRemoving ( descendant: Instance ) 500 Destroying ( ) 657 StyledPropertiesChanged ( ) 726 childAdded ( child: Instance ) 6 members inherited from Object726 ClassName : string 726 className : string 647 GetPropertyChangedSignal ( property: string ) : RBXScriptSignal 647 IsA ( className: string ) : bool 726 isA ( className: string ) : bool 647 Changed ( property: string )
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.
674
Add GetSizeAsync573
Change ReturnType of RemoveAsync
from
void
to
null 573
Change ReturnType of AddAsync
from
void
to
null 487
Change Parameters of AddAsync
from
( value: Variant , priority: double = 0 , expiration: int64 = -1 )
to
( value: Variant , expiration: int64 , priority: double = 0 ) 481
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: double = 0 )
to
( count: int , allOrNothing: bool = false , waitTimeout: double = -1 ) 477
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: int = 0 )
to
( count: int , allOrNothing: bool = false , waitTimeout: double = 0 ) 477
Change Parameters of AddAsync
from
( value: Variant , priority: int = 0 , expiration: int = -1 )
to
( value: Variant , priority: double = 0 , expiration: int64 = -1 ) 475
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: int = -1 )
to
( count: int , allOrNothing: bool = false , waitTimeout: int = 0 ) 474
Add RemoveAsync474
Add ReadAsync474
Add AddAsync474
Add MemoryStoreQueueAdds an item to the queue.
It will block the calling thread until completion.
History 4 Tags: [Yields]
Parameters (1 ) Default excludeInvisible bool false Returns (1 ) int
Gets the size of the queue.
It will block the calling thread until completion.
History 1 Tags: [Yields]
Reads one or more items from the queue as a single atomic operation.
This method does not automatically delete the returned items from the
queue but makes them invisible to other ReadAsync calls for the period of
the invisibility timeout. The items must be explicitly removed from the
queue with MemoryStoreQueue:RemoveAsync() before the invisibility
timeout expires. The invisibility timeout defaults to 30 seconds unless a
different value was provided in MemoryStoreService:GetQueue() .
It will block the calling thread until completion.
History 4 481
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: double = 0 )
to
( count: int , allOrNothing: bool = false , waitTimeout: double = -1 ) 477
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: int = 0 )
to
( count: int , allOrNothing: bool = false , waitTimeout: double = 0 ) 475
Change Parameters of ReadAsync
from
( count: int , allOrNothing: bool = false , waitTimeout: int = -1 )
to
( count: int , allOrNothing: bool = false , waitTimeout: int = 0 ) 474
Add ReadAsyncTags: [Yields]
Removes an item or items previously read from the queue. This method uses
the identifier returned by MemoryStoreQueue:ReadAsync() to
identify the items to remove. If called after the invisibility timeout has
expired, the call has no effect.
It will block the calling thread until completion.
History 2 Tags: [Yields]