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

Function create_api

src/shared/socket/SocketAPI.ts:27–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27export function create_api<
28 T extends T_BASE,
29 U extends U_BASE<T>,
30 EVENT extends EVENT_BASE
31>(): SocketAPIData<T, U, EVENT> {
32 return {
33 registered: {},
34 registered_any: [],
35 };
36}
37
38export function api_register<
39 T extends T_BASE,

Callers 2

SocketClientClass · 0.90
SocketServerClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected