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

Function runHead

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

Source from the content-addressed store, hash-verified

5865
5866/** @internal */
5867export const runHead = <A, E, R>(
5868 self: Stream.Stream<A, E, R>
5869): Effect.Effect<Option.Option<A>, E, R> => run(self, sink_.head<A>())
5870
5871/** @internal */
5872export const runIntoPubSub = dual<

Callers

nothing calls this directly

Calls 2

headMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected