AsyncResult.prototype.andThen<U, F extends BaseError>(fn: (value: T) => Result<U, F> | AsyncResult<U, F> | Promise<Result<U, F>>): AsyncResult<U, E | F>
Chains operations that return Results.
F extends BaseError
AsyncResult<U, E | F>
A new AsyncResult from the chained operation