MCPcopy Index your code
hub / github.com/Effect-TS/effect / runCollect

Function runCollect

packages/effect/src/internal/stream.ts:5619–5621  ·  view source on GitHub ↗
(
  self: Stream.Stream<A, E, R>
)

Source from the content-addressed store, hash-verified

5617
5618/** @internal */
5619export const runCollect = <A, E, R>(
5620 self: Stream.Stream<A, E, R>
5621): Effect.Effect<Chunk.Chunk<A>, E, R> => run(self, sink_.collectAll())
5622
5623/** @internal */
5624export const runCount = <A, E, R>(self: Stream.Stream<A, E, R>): Effect.Effect<number, E, R> => run(self, sink_.count)

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected