@java.lang.FunctionalInterface interface PromiseDecorator
Decorates any function execution potentially wrapping an asynchronous function execution in new functionality.
Type Params | Return Type | Name and description |
---|---|---|
<D> |
abstract groovy.lang.Closure<D> |
decorate(groovy.lang.Closure<D> c) Decorates the given closures, returning the decorated closure |