MCPcopy Create free account
hub / github.com/denoland/std / cancel

Method cancel

cbor/_map_decoded_stream.ts:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 } else controller.enqueue(value);
60 },
61 async cancel() {
62 // deno-lint-ignore no-empty
63 for await (const _ of gen) {}
64 releaseLock();
65 },
66 });
67 }
68}

Calls

no outgoing calls

Tested by

no test coverage detected