Skip to main content

Module sync

Module sync 

Source
Expand description

Synchronization commands (specification §10.1–§10.3, §10.5).

Structs§

Ack
sync.ack (§10.5): the highest contiguous sequence applied per stream. Not idempotency-recorded; lower values are ignored by the host.
ChannelEvents
One channel of sync.resume.channels.
CommunitySnapshot
The single item of part: "community" (§10.1).
Events
sync.events (§10.2).
EventsPage
sync.events response (§10.2), also the member part of sync.resume.
PageCursor
A snapshot page cursor: a 16-byte role or channel id (§10.1 after?: id).
Resume
sync.resume (§10.3).
Resumed
sync.resume response (§10.3).
Snapshot
sync.snapshot (§10.1).
SnapshotPage
sync.snapshot response (§10.1).

Enums§

SnapshotItem
One snapshot item; the variant follows the requested part.
SnapshotPart
part (§10.1). SPEC: a plain string, as in the §10.1 request.