effect-io-ai

Package: effect
Module: STM

STM.asSome

Maps the success value of this effect to an optional value.

Signature

declare const asSome: <A, E, R>(self: STM<A, E, R>) => STM<Option.Option<A>, E, R>

Source

Since v2.0.0