MCPcopy Create free account
hub / github.com/WarFrontIO/client / on

Method on

src/network/api/Endpoint.ts:106–116  ·  view source on GitHub ↗

* Adds a listener for the given status code. * @param status Status code to listen for * @param callback Callback to call when the status code is received

(status: K & Exclude<K, E>, callback: (data: T[K]) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

awaitMethod · 0.95
webpack.config.jsFile · 0.80
tryFetchUserTokenFunction · 0.80
connectToServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected