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

Method constructor

packages/core/src/common/stream.ts:12–17  ·  view source on GitHub ↗
(
		private iterator: () => AsyncIterator<Item>,
		controller: AbortController,
	)

Source from the content-addressed store, hash-verified

10 controller: AbortController;
11
12 constructor(
13 private iterator: () => AsyncIterator<Item>,
14 controller: AbortController,
15 ) {
16 this.controller = controller;
17 }
18
19 /**
20 * Creates a stream of AsyncIterator from a Server-Sent Events (SSE) response.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected