MCPcopy Index your code
hub / github.com/upstash/jstack / off

Method off

packages/jstack-shared/src/socket.ts:70–72  ·  view source on GitHub ↗
(event: K, callback?: (data: IncomingEvents[K]) => any)

Source from the content-addressed store, hash-verified

68 }
69
70 off<K extends keyof IncomingEvents & SystemEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void {
71 return this.emitter.off(event as string, callback)
72 }
73
74 on<K extends keyof IncomingEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void {
75 return this.emitter.on(event as string, callback)

Callers 2

useWebSocketFunction · 0.45
offMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected