MCPcopy
hub / github.com/coder/mux / resolve

Function resolve

src/node/services/onePasswordService.test.ts:66–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65function createDeferred<T>() {
66 let resolve: (value: T | PromiseLike<T>) => void = () => undefined;
67 let reject: (reason?: unknown) => void = () => undefined;
68 const promise = new Promise<T>((resolvePromise, rejectPromise) => {
69 resolve = resolvePromise;

Callers 15

waitForInitMethod · 0.70
onAbortFunction · 0.70
finalizeRequestMethod · 0.70
runServerTestFunction · 0.70
startSingleServerMethod · 0.70
streamCoderCommandFunction · 0.70
runCoderCommandMethod · 0.70
resolveOnceMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected