import { Deferred } from "@effect/core/io/Deferred/definition"; import { Channel } from "@effect/core/stream/Channel/definition/base"; /** * Returns a new channel, which is the same as this one, except it will be * interrupted when the specified deferred is completed. If the deferred is * completed before the underlying channel is done, then the returned channel * will yield the value of the deferred. Otherwise, if the underlying channel * finishes first, then the returned channel will yield the value of the * underlying channel. * @tsplus static effect/core/stream/Channel.Aspects interruptWhenDeferred * @tsplus pipeable effect/core/stream/Channel interruptWhenDeferred * @tsplus location "@effect/core/stream/Channel/operations/interruptWhenDeferred" */ export declare function interruptWhenDeferred(deferred: Deferred): (self: import("../definition").Channel) => import("../definition").Channel; //# sourceMappingURL=interruptWhenDeferred.d.ts.map