-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use `nanoid` for id generation. This lets us control the generated id lengths without sacrificing entropy, and avoids special characters like `-`. - use `partysocket` as a websocket replacement, that comes inbuilt with buffering, resilience, reconnection, etc - separates `mode` and `env` in `AppLoadContext` - avoid a roundtrip when generating a new room - rewrite the durable object with partyserver - enables hibernation - responds to pings without waking up the object - use the connection to store session data about the user - use an alarm to broadcast roomstate every 30 seconds
- Loading branch information
1 parent
c5d5e66
commit 2599ec4
Showing
26 changed files
with
2,063 additions
and
4,142 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.