MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / reject

Method reject

packages/wl-sdk/src/client.ts:307–312  ·  view source on GitHub ↗
(wantedId: string, input: RejectInput = {})

Source from the content-addressed store, hash-verified

305 }
306
307 async reject(wantedId: string, input: RejectInput = {}): Promise<MutationOutcome> {
308 return unwrap(
309 await reject({ ctx: this.#ctx(), wantedId, reason: input.reason }),
310 this.#config.onError
311 );
312 }
313
314 async close(wantedId: string): Promise<MutationOutcome> {
315 return unwrap(await close({ ctx: this.#ctx(), wantedId }), this.#config.onError);

Callers 15

makeFetchFunction · 0.80
createMockResponseFunction · 0.80
rejectQuestionFunction · 0.80
createCliLiveTransportFunction · 0.80
createCloudAgentSessionFunction · 0.80
rejectPendingFunction · 0.80

Calls 3

#ctxMethod · 0.95
rejectFunction · 0.90
unwrapFunction · 0.70

Tested by 4

makeFetchFunction · 0.64
createMockResponseFunction · 0.64
envWithDOErrorFunction · 0.64
mockControllerFetchFunction · 0.64