Package: effect
Module: STM
Flips the success and failure channels of this transactional effect. This allows you to use all methods on the error channel, possibly before flipping back.
Signature
declare const flip: <A, E, R>(self: STM<A, E, R>) => STM<E, A, R>
Since v2.0.0