MCPcopy Create free account
hub / github.com/cloudflare/computer / cancel

Method cancel

examples/think/worker-configuration.d.ts:2247–2247  ·  view source on GitHub ↗

* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)

(reason?: any)

Source from the content-addressed store, hash-verified

2245 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)
2246 */
2247 cancel(reason?: any): Promise<void>;
2248 /**
2249 * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.
2250 *

Callers 1

waitForWorkspaceHealthFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected