doOnResume method

Observable<T> doOnResume (
  1. void onResume(
      )
    )
    inherited

    Invokes the given callback function when the stream subscription resumes receiving items.

    Example

    final subscription = new Observable.just(1)
      .doOnResume(() => print("Let's do this!"))
      .listen(null);
    
    subscription.pause();
    subscription.resume(); "Let's do this!"
    

    Implementation

    Observable<T> doOnResume(void onResume()) =>
        transform(DoStreamTransformer<T>(onResume: onResume));