Stream.recover<U>(fn: (error: E) => Promisable<U>): Stream<T | U, never>
Recovers from all errors by applying the provided function to transform them into successful values. This allows you to handle all errors gracefully while still collecting successful values in the stream.
fn: (error: E) => Promisable<U>