Polyjuice Client v0.2.1 Polyjuice.Client.Storage protocol View Source
Persistent storage for the Matrix client
Link to this section Summary
Types
Safe values to use for key-value storage. All storage must support at least these types.
Functions
Close the storage.
Get the ID stored for a filter, or nil
if no ID has been stored.
Get the latest sync token, or nil
if no sync token has been set.
Get the data for a specific key.
Store data for a specific key.
Store the ID for a filter.
Set the sync token.
Link to this section Types
Safe values to use for key-value storage. All storage must support at least these types.
Link to this section Functions
Close the storage.
Get the ID stored for a filter, or nil
if no ID has been stored.
Get the latest sync token, or nil
if no sync token has been set.
Get the data for a specific key.
Store data for a specific key.
Store the ID for a filter.
Set the sync token.