MCPcopy
hub / github.com/partykit/partykit / HandlerCallbackOptions

Interface HandlerCallbackOptions

packages/y-partykit/src/index.ts:468–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466// TODO: Add a runtime check for this
467
468interface HandlerCallbackOptions extends CallbackOptions {
469 handler: (doc: YDoc) => void | Promise<void>;
470 url?: never;
471}
472
473interface UrlCallbackOptions extends CallbackOptions {
474 handler?: never;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected