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 65 members inherited from Instance553 Archivable : bool 553 Attributes : string 553 AttributesReplicate : string 553 AttributesSerialize : BinaryString 670 Capabilities : SecurityCapabilities 553 DataCost : int 619 DefinesCapabilities : bool 553 HistoryId : UniqueId 553 Name : string 553 Parent : Instance 553 PropertyStatusStudio : PropertyStatus 553 RobloxLocked : bool 670 Sandboxed : bool 616 SourceAssetId : int64 553 Tags : BinaryString 616 UniqueId : UniqueId 553 archivable : bool 553 numExpectedDirectChildren : int 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 486 GetDescendants ( ) : Array 486 GetFullName ( ) : string 641 GetStyled ( name: 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 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 648 children ( ) : Instances 553 clone ( ) : Instance 573 destroy ( ) : null 553 findFirstChild ( name: string , recursive: bool = false ) : Instance 648 getChildren ( ) : Instances 553 isDescendantOf ( ancestor: Instance ) : bool 573 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 ( ) 553 childAdded ( child: Instance ) 6 members inherited from Object647 ClassName : string 647 className : string 647 GetPropertyChangedSignal ( property: string ) : RBXScriptSignal 647 IsA ( className: string ) : bool 650 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
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]