A memento represents a storage utility. It can store and retrieve values.
Fields
update(key:String, value:Any):Thenable<Void>
Store a value. The value must be JSON-stringifyable.
Parameters:
key | A string. |
---|---|
value | A value. MUST not contain cyclic references. |