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

Function runCount

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

Source from the content-addressed store, hash-verified

5622
5623/** @internal */
5624export const runCount = <A, E, R>(self: Stream.Stream<A, E, R>): Effect.Effect<number, E, R> => run(self, sink_.count)
5625
5626/** @internal */
5627export 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