class GormAsyncStaticApi extends java.lang.Object
Transforms the GormStaticApi into an asynchronous API
| Type | Name and description |
|---|---|
GormStaticOperations<D> |
staticApi |
| Constructor and description |
|---|
GormAsyncStaticApi
(GormStaticApi<D> staticApi) |
| Type | Name and description |
|---|---|
java.util.List<grails.async.decorator.PromiseDecorator> |
getDecorators() |
grails.async.Promise<T> |
task(groovy.lang.Closure<T> callable)Used to perform a sequence of operations asynchronously |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used to perform a sequence of operations asynchronously
callable - The callable