MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / register

Method register

src/back/SocketServer.ts:201–203  ·  view source on GitHub ↗
(type: TYPE, callback: Callback<MsgEvent, BackInTemplate[TYPE]>)

Source from the content-addressed store, hash-verified

199 }
200
201 public register<TYPE extends BackIn>(type: TYPE, callback: Callback<MsgEvent, BackInTemplate[TYPE]>): void {
202 api_register(this.api, type, callback);
203 }
204
205 public unregister(type: BackIn): void {
206 api_unregister(this.api, type);

Callers 6

logger.tsxFile · 0.45
startupFunction · 0.45
registerHandlersFunction · 0.45
startupFunction · 0.45
registerRequestCallbacksFunction · 0.45

Calls 1

api_registerFunction · 0.90

Tested by

no test coverage detected