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

Function return

packages/core/src/common/stream.ts:540–545  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

538 }
539 },
540 async return() {
541 const cancelPromise = reader.cancel();
542 reader.releaseLock();
543 await cancelPromise;
544 return {done: true, value: undefined};
545 },
546 [Symbol.asyncIterator]() {
547 return this;
548 },

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected