MCPcopy
hub / github.com/cryptpad/cryptpad / ModuleObject

Interface ModuleObject

src/worker/types.ts:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23export interface ModuleObject {
24 removeClient: (clientId: string) => void
25 execCommand: (clientId: string, obj: CommandData, cb: Callback) => void
26}
27
28export interface Module<T> {
29 init: (config: ModuleConfig, cb: Callback, emit: Callback) => T

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected