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: MuidPuts a value or a reference to another container in this box. If a bundler is supplied, the function will add the entry to that bundler and return immediately (presumably you know what to do with a CS if you passed it in). If the caller does not supply a bundler, then one is created on the fly, and then this method will await on the CS being added to the database instance. This is to allow simple console usage like: await myBox.put("some value");
a promise that resolves to the address of the newly created entry
Generates a JSON representation of the data in the box (the box itself is transparent). Mostly intended for demo/debug purposes.
true to pretty print
Optional
asOf: AsOfeffective time
Optional
seen: Set<string>(internal use only! Prevent cycles from breaking things)
a JSON string
Protected
Static
addStatic
createStatic
get
Returns a promise that resolves to the most recent value put in the box, or undefined.