UNPKG

@effect-ts/system

Version:

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

17 lines 886 B
import * as H from "../../../../Hub/index.js"; import type * as M from "../../../../Managed/index.js"; import type * as TK from "../../Take/index.js"; import type * as C from "../core.js"; /** * Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope * composition. */ export declare function runIntoHubManaged_<R, R1, E extends E1, E1, A, Z>(self: C.Stream<R, E, A>, hub: H.XHub<R1, never, never, unknown, TK.Take<E1, A>, Z>): M.Managed<R & R1, E | E1, void>; /** * Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope * composition. * * @ets_data_first runIntoHubManaged_ */ export declare function runIntoHubManaged<R1, E1, A, Z>(hub: H.XHub<R1, never, never, unknown, TK.Take<E1, A>, Z>): <R, E extends E1>(self: C.Stream<R, E, A>) => M.Managed<R & R1, E1 | E, void>; //# sourceMappingURL=runIntoHubManaged.d.ts.map