Skip to content

Instantly share code, notes, and snippets.

@agustarc
Created August 15, 2019 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agustarc/301b2326e69d9dc72e24aef18c867d85 to your computer and use it in GitHub Desktop.
Save agustarc/301b2326e69d9dc72e24aef18c867d85 to your computer and use it in GitHub Desktop.
@CheckReturnValue
@SchedulerSupport(SchedulerSupport.NONE)
public final Single<T> retryWhen(Function<? super Flowable<Throwable>, ? extends Publisher<?>> handler) {
return toSingle(toFlowable().retryWhen(handler));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment