MCPcopy
hub / github.com/partykit/partykit / PartyStorage

Interface PartyStorage

packages/partymix/src/partyStorage.ts:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11} from "@remix-run/server-runtime";
12
13interface PartyStorage {
14 get(id: string): Promise<string | null>;
15 put(
16 id: string,
17 data: string,
18 options?: { expiration?: number }
19 ): Promise<void>;
20 delete(id: string): Promise<void>;
21}
22
23interface PartySessionStorageOptions {
24 /**

Callers 20

warnIfOptionsChangedFunction · 0.65
getYDocFunction · 0.65
closeConnFunction · 0.65
onConnectFunction · 0.65
groupByFunction · 0.65
createMultiPartiesFunction · 0.65
fetchMethod · 0.65
levelPutFunction · 0.80
createDataFunction · 0.80
updateDataFunction · 0.80
onConnectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected