UNPKG

@typed/effects

Version:

Generator-powered Effect management

10 lines 408 B
import { Either } from '@typed/either'; import { Resume } from '@typed/env'; import { Effects } from '../Effect'; import { Fiber, FiberFailure } from './Fiber'; export declare type Join = { readonly join: <A>(fiber: Fiber<A>) => Resume<Either<Error, A>>; }; export declare const Join: Join; export declare function join<A>(f: Fiber<A>): Effects<Join & FiberFailure, A>; //# sourceMappingURL=join.d.ts.map