PartyKitPersister
The PartyKitPersister
interface represents a Persister
that lets you save and load Store
data from the client to the durable PartyKit cloud storage of a server.
You should use the createPartyKitPersister
function to create a PartyKitPersister
object.
It is a minor extension to the Persister
interface and simply provides an extra getConnection
method for accessing the PartySocket the Store
is being persisted to.
Since
v4.3.14