This function turns an array or a tuple literal of Maybe
or
AsyncMaybeLike
"inside out". For example:
AsyncMaybe<T>[]
becomes AsyncMaybe<T[]>
[AsyncMaybe<T1>, AsyncMaybe<T2>]
becomes AsyncMaybe<[T1, T2]>
Concurrently evaluate the Maybe
or AsyncMaybeLike
in an iterable and
collect the Just
values in an array.
This function turns an iterable of Maybe
or AsyncMaybeLike
"inside
out" For example, Iterable<AsyncMaybe<T>>
becomes AsyncMaybe<T[]>
.
Generated using TypeDoc
Concurrently evaluate the
Maybe
orAsyncMaybeLike
in an array or a tuple literal and collect theJust
values in an equivalent structure.