import * as T from "../../../../Effect/index.js"; import * as C from "../core.js"; /** * Returns a new channel, which is the same as this one, except it will be interrupted when the * specified effect completes. If the effect completes successfully before the underlying channel * is done, then the returned channel will yield the success value of the effect as its terminal * value. On the other hand, if the underlying channel finishes first, then the returned channel * will yield the success value of the underlying channel as its terminal value. */ export declare function interruptWhen_(self: C.Channel, io: T.Effect): C.Channel; /** * Returns a new channel, which is the same as this one, except it will be interrupted when the * specified effect completes. If the effect completes successfully before the underlying channel * is done, then the returned channel will yield the success value of the effect as its terminal * value. On the other hand, if the underlying channel finishes first, then the returned channel * will yield the success value of the underlying channel as its terminal value. * * @ets_data_first interruptWhen_ */ export declare function interruptWhen(io: T.Effect): (self: C.Channel) => C.Channel; //# sourceMappingURL=interruptWhen.d.ts.map