class GormAsyncStaticApi<D> extends Object implements PromiseDecoratorProvider
Transforms the GormStaticApi into an asynchronous API
| Type | Name and description |
|---|---|
GormStaticOperations<D> |
staticApi |
| Constructor and description |
|---|
GormAsyncStaticApi(GormStaticApi<D> staticApi) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
List<PromiseDecorator> |
getDecorators() |
<T> |
Promise<T> |
task(Closure<T> callable)Used to perform a sequence of operations asynchronously |
Used to perform a sequence of operations asynchronously
callable - The callableGroovy Documentation