Documentation: SDK usage + API reference #12

Closed
opened 2026-08-19 06:49:40 +00:00 by yuris · 1 comment
Owner

README has the 10-line quickstart; real usage docs needed once vertical slice lands.

  • Usage guide (connect/subscribe/call_reducer/on_event)
  • API table for each module
  • Publish as Defold library dependency (tagged release)
README has the 10-line quickstart; real usage docs needed once vertical slice lands. - [ ] Usage guide (connect/subscribe/call_reducer/on_event) - [ ] API table for each module - [ ] Publish as Defold library dependency (tagged release)
Author
Owner

Closing: all three checkboxes are done.

  • Usage guide — README covers connect / subscribe / call_reducer / on_event, plus the event table, droppable query sets, procedures, reconnect, identity persistence, and schema generation. Every non-obvious claim in it was captured from a live 2.8.2 server rather than inferred from docs.
  • API table for each module — new "API reference" section: stdb facade with the full connect option table, connection methods with their callback signatures, stdb.cache, stdb.schema, stdb.protocol.
  • Publish as a Defold library dependency — shipped in #13, including the Forgejo private-repo token quirk (basic auth 404s; use ?token=).

Also documented since this issue was filed: the two HTML5 traps from #8, and that an HTML5 build needs a patched extension-websocket until #15 lands.

Closing: all three checkboxes are done. - **Usage guide** — README covers connect / subscribe / call_reducer / on_event, plus the event table, droppable query sets, procedures, reconnect, identity persistence, and schema generation. Every non-obvious claim in it was captured from a live 2.8.2 server rather than inferred from docs. - **API table for each module** — new "API reference" section: `stdb` facade with the full `connect` option table, connection methods with their callback signatures, `stdb.cache`, `stdb.schema`, `stdb.protocol`. - **Publish as a Defold library dependency** — shipped in #13, including the Forgejo private-repo token quirk (basic auth 404s; use `?token=`). Also documented since this issue was filed: the two HTML5 traps from #8, and that an HTML5 build needs a patched extension-websocket until #15 lands.
yuris closed this issue 2026-08-19 12:07:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/spacetimedb-defold#12
No description provided.