TinyBase logoTinyBase

Storage functions

This is the collection of storage functions within the persister-partykit-server module. There are only two storage functions, hasStoreInStorage and loadStoreFromStorage.

hasStoreInStorage

The hasStoreInStorage function returns a boolean indicating whether durable PartyKit storage contains a serialized Store.

loadStoreFromStorage

The loadStoreFromStorage function returns the content of a Store from durable PartyKit storage.