MCPcopy Create free account
hub / github.com/bcms/cms / internalEventRegister

Method internalEventRegister

client/src/handlers/socket.ts:239–259  ·  view source on GitHub ↗

* Registers an internal event handler for either 'open' or 'close' events. * * @return A function that can be called to unregister the handler.

(
        type: 'open' | 'close',
        handler: () => Promise<void>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

pushMethod · 0.80
errorMethod · 0.65
handlerFunction · 0.50

Tested by

no test coverage detected