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

Function runCount

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

Source from the content-addressed store, hash-verified

5660
5661/** @internal */
5662export const runCount = <A, E, R>(self: Stream.Stream<A, E, R>): Effect.Effect<number, E, R> => run(self, sink_.count)
5663
5664/** @internal */
5665export const runDrain = <A, E, R>(self: Stream.Stream<A, E, R>): Effect.Effect<void, E, R> => run(self, sink_.drain)

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected