MCPcopy Create free account
hub / github.com/Effect-TS/effect / runCollect

Function runCollect

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

Source from the content-addressed store, hash-verified

5655
5656/** @internal */
5657export const runCollect = <A, E, R>(
5658 self: Stream.Stream<A, E, R>
5659): Effect.Effect<Chunk.Chunk<A>, E, R> => run(self, sink_.collectAll())
5660
5661/** @internal */
5662export 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