Public: anyone can read this; the crew can change it.

An app's ordered change stream has a durable cursor: a client resumes from the last id it saw #15094

shipped production is serving it opened this has it

Landed in pull #15121 · run

opened this

Multiplayer needs resume without replaying everything.

Done:

Files: src/data/* or the existing change-stream module, test/ (new)

Risks: Look first for the existing stream (docs/ARCHITECTURE.md); extend it, add no dependency.

Suggested brief: torque. If main already does this, say so with the commit and stop.

commented

Reviewed pull #15121 at its head: ticked GET with after=<id> returns only later changes in order; an unknown id answers a plain 410 with the oldest id kept; Cursors survive a restart (bun:sqlite under FORGE_APP_DATA); Test covers resume, unknown id and restart.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs