HandleByRxBlocBase<T> extension

Stream loading and error handlers

on

Methods

setErrorStateHandler(RxBlocBase bloc, {bool shareReplay = true}) Stream<Result<T>>
Handle ResultError states from the stream.
setLoadingStateHandler(RxBlocBase bloc, {bool shareReplay = true}) Stream<Result<T>>
Handle ResultLoading states from stream.
setResultStateHandler(RxBlocBase bloc, {bool shareReplay = true}) Stream<Result<T>>
Handle ResultLoading and ResultError by a BLoC.