effect-io-ai

Package: effect
Module: STM

STM.map

Maps the value produced by the effect.

Signature

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

Source

Since v2.0.0