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

Method register

src/shared/back/SocketClient.ts:158–160  ·  view source on GitHub ↗
(type: TYPE, callback: Callback<EVENT, BackOutTemplate[TYPE]>)

Source from the content-addressed store, hash-verified

156 // API
157
158 register<TYPE extends BackOut>(type: TYPE, callback: Callback<EVENT, BackOutTemplate[TYPE]>): void {
159 api_register(this.api, type, callback);
160 }
161
162 unregister(type: BackOut): void {
163 api_unregister(this.api, type);

Callers

nothing calls this directly

Calls 1

api_registerFunction · 0.90

Tested by

no test coverage detected