AsyncResult.any<T, E extends BaseError>(results: readonly (AsyncResult<T, E> | Promise<Result<T, E>>)[]): AsyncResult<T, E>
Returns the first Ok result from an array of AsyncResults.
If any Result is Ok, returns that Ok result. If all Results are Err, returns the last Err.
E extends BaseError
The type of the errors
AsyncResult<T, E>
AsyncResult with the first Ok, or the last Err