private <T> Handler<AsyncResult<T>> handleSuccessfulResult(IAsyncResultHandler<Void> failureHandler, Handler<T> successHandler) {
        return result -> {
            if (result.succeeded()) {
                successHandler.handle(result.result());
            } else {
                failureHandler.handle(AsyncResultImpl.create(result.cause()));
            }
        };
    }
@author Marc Savy {@literal <marc@rhymewithgravy.com>}
gateway/engine/vertx-shareddata/src/main/java/io/apiman/gateway/engine/vertx/shareddata/SharedGlobalDataRegistry.java