import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal" /** * Converts this stream to a stream that executes its effects but emits no * elements. Useful for sequencing effects using streams. * * @tsplus getter effect/core/stream/Stream drain */ export function drain(self: Stream): Stream { concreteStream(self) return new StreamInternal(self.channel.drain) }