toTaskEitherAsync<L> method
Convert a nullable type T?
to TaskEither using an async function:
If you want to run an sync function onNull
, use toTaskEither
.
Implementation
TaskEither<L, T> toTaskEitherAsync<L>(Task<L> onNull) =>
TaskEither.fromNullableAsync(this, onNull);