public <T> CompletableFuture<T> patchAsync(final Class<T> type, @DelegatesTo(HttpConfig.class) final Closure closure) {
        return CompletableFuture.supplyAsync(() -> patch(type, closure), getExecutor());
    }
public < T > CompletableFuture < T > patchAsync ( final Class < T > type , @ DelegatesTo ( HttpConfig . class ) final Closure closure ) { return CompletableFuture . supplyAsync ( ( ) -> patch ( type , closure ) , getExecutor ( ) ) ; }
Executes asynchronous PATCH request on the configured URI (alias for the `patch(Class, Closure)` method), with additional configuration provided by
the configuration closure. The result will be cast to the specified `type`.

[source,groovy]
----
def http = HttpBuilder.configure {
request.uri = 'http://localhost:10101'
}
CompletableFuture future = http.patchAsync(String){
request.uri.path = '/something'
}
String result = future.get()
----

The configuration `closure` allows additional configuration for this request based on the {@link HttpConfig} interface.

@param type the type of the response content
@param closure the additional configuration closure (delegated to {@link HttpConfig})
@return the {@link CompletableFuture} for the resulting content cast to the specified type