effect-io-ai

Package: effect
Module: Fiber

Fiber.map

Maps over the value the Fiber computes.

Signature

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

Source

Since v2.0.0