import { SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal" /** * Creates a single-value sink produced from an effect. * * @tsplus static effect/core/stream/Sink.Ops fromEffect */ export function fromEffect( effect: Effect ): Sink { return new SinkInternal(Channel.fromEffect(effect)) }