Skip to main content

Module sync_token

Module sync_token 

Source
Expand description

Sync tokens allow us to index our position into the stream of events and EDUs.

See https://bundesmessenger.gitlab.io/backend/neo/arminius/arminius/architecture/sync.html for information on what we’re indexing into.

Structs§

SyncToken
A deserialized token which represents the state of sync.

Enums§

SyncTokenParseError
Error that occurs when parsing a sync token

Constants§

SYNC_TOKEN_PREFIX 🔒
Prefix that correctly identifies a sync token

Functions§

get_current_token
Fetches the current token of the server.