getOrNull

suspend fun <Error, A> Effect<Error, A>.getOrNull(): A?

Run the Effect by returning A, or null if raised with Error.


Run the EagerEffect by returning A, or null if raised with Error.