persister-partykit-server
The persister-partykit-server
module of the TinyBase project contains the server portion of the PartyKit integration.
It contains a class which, when run in a PartyKit server environment, lets you save and load Store
data from a client (that is using the complementary persister-partykit-client
module) to durable PartyKit cloud storage.
This enables synchronization of the same Store
across multiple clients in a PartyKit party room.
Note that both the client and server parts of this Persister
are currently experimental as PartyKit is new and still maturing.
See also
Persistence guides
Since
v4.3.0
Classes
Functions
broadcastChanges
function- Storage functions