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

Function reject

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

Source from the content-addressed store, hash-verified

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;
70 reject = rejectPromise;

Callers 15

loadImageFunction · 0.85
fileToChatAttachmentFunction · 0.85
highlightWithBudgetFunction · 0.85
executeCalculationMethod · 0.85
API.test.tsxFile · 0.85
checkLivenessFunction · 0.85
waitForStreamStartedFunction · 0.85
onAbortFunction · 0.85
execAsyncFunction · 0.85
execFileAsyncFunction · 0.85
runMCPToolWithDeadlineFunction · 0.85
onAbortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected