UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

9 lines 392 B
import type * as T from "../../../../Effect/index.js"; import type * as O from "../../../../Option/index.js"; import type * as C from "../core.js"; /** * Runs the stream to collect the first value emitted by it without running * the rest of the stream. */ export declare function runHead<R, E, A>(self: C.Stream<R, E, A>): T.Effect<R, E, O.Option<A>>; //# sourceMappingURL=runHead.d.ts.map