# Packages
No description provided by the author
# Functions
Create a new device data ticker, which batches calls to Remember and invokes a callback every d duration.
No description provided by the author
No description provided by the author
No description provided by the author
NewPollerMap makes a new PollerMap.
No description provided by the author
No description provided by the author
NewTokensTable creates the syncv3_sync2_tokens table if it does not already exist.
# Constants
No description provided by the author
# Structs
No description provided by the author
This struct remembers user+device IDs to notify for then periodically emits them all to the caller.
DevicesTable remembers syncv2 since positions per-device.
No description provided by the author
HTTPClient represents a Sync v2 Client.
PendingTransactionIDs is (conceptually) a map from event IDs to a list of device IDs.
No description provided by the author
PollerMap is a map of device ID to Poller.
No description provided by the author
No description provided by the author
No description provided by the author
InviteResponse represents a /sync response for a room which is under the 'invite' key.
JoinResponse represents a /sync response for a room which is under the 'join' or 'peek' key.
LeaveResponse represents a /sync response for a room which is under the 'leave' key.
No description provided by the author
No description provided by the author
TokenForPoller represents a row of the tokens table, together with any data maintained by pollers for that token's device.
TokensTable remembers sync v2 tokens.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
V2DataReceiver is the receiver for all the v2 sync data the poller gets.