Internal storage for data, can hold any key/value collection.
Index signature allows any key value pair to be added to memory.
Create a memory instance for isolating users, key/value pairs. Create a memory instance for isolating users, key/value pairs.
Any misc data added without specifying collection.
All known rooms assigned to their ID as key.
All known users assigned to their ID as key.
Empty memory and start fresh with minimal empty collections.
Stop saving data
Retrieve value from memory by key within given (or default) collection.
Update internal memory with any data set (mostly used on load)
Save internal memory back to storage adapter (as
Save key-value pair under the collection namespace, extend existing data.
Set is used for temporal in-memory data for common interactions. For large
data sets that will be infrequently accessed, use
Save memory every x milliseconds
Save data and disconnect storage adapter
Populate brian with temporal data from storage adapter and get started
Convert memory to an object with collection attributes.
Remove item from memory by key and collection namespace (optional).
Generated using TypeDoc