effect-io-ai

Package: effect
Module: Micro

Micro.bindTo

Bind the success value of this Micro effect to the provided name.

Signature

declare const bindTo: { <N extends string>(name: N): <A, E, R>(self: Micro<A, E, R>) => Micro<{ [K in N]: A; }, E, R>; <A, E, R, N extends string>(self: Micro<A, E, R>, name: N): Micro<{ [K in N]: A; }, E, R>; }

Source

Since v3.4.0