// ets_tracing: off import * as CH from "../../Channel/index.js" import * as C from "../core.js" /** * Converts this stream to a stream that executes its effects but emits no * elements. Useful for sequencing effects using streams: */ export function drain(self: C.Stream): C.Stream { return new C.Stream(CH.drain(self.channel)) }