import * as T from "../../../../Effect/index.js"; import * as C from "../core.js"; /** * Halts the evaluation of this stream when the provided IO completes. The given IO * will be forked as part of the returned stream, and its success will be discarded. * * An element in the process of being pulled will not be interrupted when the IO * completes. See `interruptWhen` for this behavior. * * If the IO completes with a failure, the stream will emit that failure. */ export declare function haltWhen_(self: C.Stream, io: T.Effect): C.Stream; /** * Halts the evaluation of this stream when the provided IO completes. The given IO * will be forked as part of the returned stream, and its success will be discarded. * * An element in the process of being pulled will not be interrupted when the IO * completes. See `interruptWhen` for this behavior. * * If the IO completes with a failure, the stream will emit that failure. * * @ets_data_first haltWhen_ */ export declare function haltWhen(io: T.Effect): (self: C.Stream) => C.Stream; //# sourceMappingURL=haltWhen.d.ts.map