// ets_tracing: off import * as CH from "../Channel/index.js" import * as C from "./core.js" /** * Returns a sink that executes a total effect and ends with its result. */ export function succeedWith( effect: () => A ): C.Sink { return new C.Sink(CH.succeedWith(effect)) }