effect-io-ai

Package: effect
Module: Sink

Sink.as

Replaces this sink’s result with the provided value.

Signature

declare const as: { <A2>(a: A2): <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<A2, In, L, E, R>; <A, In, L, E, R, A2>(self: Sink<A, In, L, E, R>, a: A2): Sink<A2, In, L, E, R>; }

Source

Since v2.0.0