async/stream_on_error_finish_with library

Classes

ErrorAbsorberTransformer<T>
A StreamTransformer that absorbs errors, optionally emits a value, and then finishes the stream. If an error occurs, the onError callback is invoked to provide an optional value to emit before closing the stream.

Extensions

OnErrorFinishWith on Stream<T>