JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.reactivex.rxjava3.schedulers

Interface SchedulerRunnableIntrospection



  • public interface SchedulerRunnableIntrospection
    Interface to indicate the implementor class wraps a Runnable that can be accessed via getWrappedRunnable().

    You can check if a Runnable task submitted to a Scheduler (or its Scheduler.Worker) implements this interface and unwrap the original Runnable instance. This could help to avoid hooking the same underlying Runnable task in a custom RxJavaPlugins.onSchedule(Runnable) hook set via the RxJavaPlugins.setScheduleHandler(Function) method multiple times due to internal delegation of the default Scheduler.scheduleDirect or Scheduler.Worker.schedule methods.

    History: 2.1.7 - experimental

    Since:
    2.2
    • Method Detail

      • getWrappedRunnable

        @NonNull
        @NonNull Runnable getWrappedRunnable()
        Returns the wrapped action.
        Returns:
        the wrapped action. Cannot be null.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /