Observer<T>.error constructor

Observer<T>.error(
  1. ErrorCallback error
)

An observer that is only interested in errors.

Implementation

factory Observer.error(ErrorCallback error) =>
    BaseObserver<T>(emptyFunction1, error, emptyFunction0);