MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createStreamFromEvents

Function createStreamFromEvents

packages/cli/src/nonInteractiveCli.test.ts:81–87  ·  view source on GitHub ↗
(
    events: ServerAnusStreamEvent[],
  )

Source from the content-addressed store, hash-verified

79 });
80
81 async function* createStreamFromEvents(
82 events: ServerAnusStreamEvent[],
83 ): AsyncGenerator<ServerAnusStreamEvent> {
84 for (const event of events) {
85 yield event;
86 }
87 }
88
89 it('should process input and write text output', async () => {
90 const events: ServerAnusStreamEvent[] = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected