MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / return

Function return

packages/baseai/src/dev/utils/stream/stream.ts:526–531  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524 }
525 },
526 async return() {
527 const cancelPromise = reader.cancel();
528 reader.releaseLock();
529 await cancelPromise;
530 return { done: true, value: undefined };
531 },
532 [Symbol.asyncIterator]() {
533 return this;
534 }

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected