qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java
public <T> CallbackBuilder wrap(final Callback<T> callback) {

        this.withErrorHandler(callback::onError);

        this.withTimeoutHandler(callback::onTimeout);

        this.withCallback(callback);

        return this;
    }
public <T> CallbackBuilder wrap(final Callback<T> callback) {

        this.withErrorHandler(callback::onError);

        this.withTimeoutHandler(callback::onTimeout);

        this.withCallback(callback);

        return this;
    }
public < T > CallbackBuilder wrap ( final Callback < T > callback ) { this . withErrorHandler ( callback :: onError ) ; this . withTimeoutHandler ( callback :: onTimeout ) ; this . withCallback ( callback ) ; return this ; }
Builder method to wrap and delegate, timeout and error handling and callback itself.

@param callback callback
@param <T>      T
@return this
Builder method to wrap and delegate timeout and error handling and callback itself .