Interface AsyncElement<E extends Element>

    • Method Detail

      • async

        <T> Thenable<E> async​(io.reactivex.rxjava3.core.Observable<T> obs,
                              BiConsumer<E,​io.reactivex.rxjava3.core.Observable<T>> asyncAction)
        Asynchronous action to execute given an Observable and the current Element
        Type Parameters:
        T - The type that the Observable contains
        Parameters:
        obs - the Observable that is going to be used for the async action
        asyncAction - BiConsumer containing the current Element being processed and the Observable passed as the parameter
        Returns:
        A Thenable as a result of the current asynchronous action happening
      • async

        default <T> Thenable<E> async​(org.reactivestreams.Publisher<T> pub,
                                      BiConsumer<E,​io.reactivex.rxjava3.core.Observable<T>> asyncAction)