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 .