Package rx.plugins

Class RxJavaCompletableExecutionHook


  • @Experimental
    public abstract class RxJavaCompletableExecutionHook
    extends java.lang.Object
    Abstract ExecutionHook with invocations at different lifecycle points of Completable execution with a default no-op implementation.

    See RxJavaPlugins or the RxJava GitHub Wiki for information on configuring plugins: https://github.com/ReactiveX/RxJava/wiki/Plugins.

    Note on thread-safety and performance:

    A single implementation of this class will be used globally so methods on this class will be invoked concurrently from multiple threads so all functionality must be thread-safe.

    Methods are also invoked synchronously and will add to execution time of the completable so all behavior should be fast. If anything time-consuming is to be done it should be spawned asynchronously onto separate worker threads.

    Since:
    (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)