import { Bridge } from "@effect/core/stream/Channel/definition/primitives" import type { AsyncInputProducer } from "@effect/core/stream/Channel/SingleProducerAsyncInput" /** * Embed inputs from continuos pulling of a producer. * * @tsplus static effect/core/stream/Channel.Aspects embedInput * @tsplus pipeable effect/core/stream/Channel embedInput */ export function embedInput( input: AsyncInputProducer ) { return ( self: Channel ): Channel => new Bridge(input, self) }