effect-io-ai

Package: effect
Module: Micro

Micro.map

Transforms the success value of the Micro effect with the specified function.

Signature

declare const map: { <A, B>(f: (a: A) => B): <E, R>(self: Micro<A, E, R>) => Micro<B, E, R>; <A, E, R, B>(self: Micro<A, E, R>, f: (a: A) => B): Micro<B, E, R>; }

Source

Since v3.4.0