interface PromiseDecorator
Decorates any function execution potentially wrapping an asynchronous function execution in new functionality.
<D>
abstract Closure<D>
decorate(Closure<D> c)
Decorates the given closures, returning the decorated closure
c
Groovy Documentation