Readonly
addressReadonly
behaviorReadonly
databaseProtected
Static
Readonly
DELETIONProtected
Static
globalProtected
Static
Readonly
INCLUSIONProtected
addOptional
key: ScalarKey | Muid | [Muid, Muid] | Addressable | [Addressable, Addressable]Optional
value: Value | Deletion | InclusionOptional
meta: MetaOptional
onContainer: MuidFunction to iterate over the contents of the List, showing the address of each entry (which can be used in pop).
count of many things to iterate through, positive starting from front, negative for end
Optional
asOf: AsOfeffective time to get the contents for
an async iterator across everything in the list, with values returned being pairs of Muid, (Value|Container),
Adds multiple entries into this sequence. NOTE: If you pass a bundler, all changes will share the same timestamp. This means you will not be able to move new entries in between these (you may move these entries between one another). Without a bundler, each item from the iterable will be committed separately, which will be costly, but there won't be the same restrictions on moving.
Dumps the contents of this list to a javascript array. useful for debugging and could also be used to export data by walking the tree
how many elements to get, positive starting from beginning, negative starting from end
Optional
asOf: AsOfeffective time to get the dump for: leave undefined to get data as of the present
an array containing Values (e.g. numbers, strings) and Containers (e.g. other Lists, Boxes, Directories)
Generates a JSON representation of the data in the list. Mostly intended for demo/debug purposes.
true to pretty print
Optional
asOf: AsOfeffective time
Optional
seen: Set<string>(internal use only! This prevents cycles from breaking things)
a JSON string
Protected
Static
addStatic
createStatic
get
Kind of like the Gink version of a Javascript Array; supports push, pop, shift. Doesn't support unshift because order is defined by insertion order.