ReadonlyaddressReadonlybehaviorReadonlydatabaseProtected Static ReadonlyDELETIONProtected StaticglobalProtected Static ReadonlyINCLUSIONProtectedaddOptionalkey: ScalarKey | Muid | [Muid, Muid] | Addressable | [Addressable, Addressable]Optionalvalue: Value | Deletion | InclusionOptionalmeta: MetaOptionalonContainer: 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
OptionalasOf: AsOfeffective time
Optionalseen: Set<string>(internal use only! Prevent cycles from breaking things)
a JSON string
Protected StaticaddStaticcreateStaticget
Returns a promise that resolves to the most recent value put in the box, or undefined.