// ets_tracing: off import * as CH from "../Channel/index.js" import * as C from "./core.js" /** * Returns a lazily constructed sink that may require effects for its creation. */ export function suspend( f: () => C.Sink ): C.Sink { return new C.Sink(CH.suspend(() => f().channel)) }