effect-io-ai

Package: effect
Module: STM

STM.asVoid

This function maps the success value of an STM to void. If the original STM succeeds, the returned STM will also succeed. If the original STM fails, the returned STM will fail with the same error.

Signature

declare const asVoid: <A, E, R>(self: STM<A, E, R>) => STM<void, E, R>

Source

Since v2.0.0