effect-io-ai

Package: effect
Module: STM

STM.merge

Returns a new effect where the error channel has been merged into the success channel to their common combined type.

Signature

declare const merge: <A, E, R>(self: STM<A, E, R>) => STM<E | A, never, R>

Source

Since v2.0.0