|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.grails.async.factory.BoundPromise
@groovy.transform.CompileStatic class BoundPromise extends java.lang.Object
A bound promise is a promise which is already resolved and doesn't require any asynchronous processing to calculate the value
Property Summary | |
---|---|
java.lang.Object |
value
|
Constructor Summary | |
BoundPromise(java.lang.Object value)
|
Method Summary | |
---|---|
java.lang.Object
|
get()
|
java.lang.Object
|
get(long timeout, java.util.concurrent.TimeUnit units)
|
Promise
|
leftShift(groovy.lang.Closure callable)
|
Promise
|
onComplete(groovy.lang.Closure callable)
|
Promise
|
onError(groovy.lang.Closure callable)
|
Promise
|
then(groovy.lang.Closure callable)
|
Methods inherited from 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() |
Property Detail |
---|
java.lang.Object value
Constructor Detail |
---|
BoundPromise(java.lang.Object value)
Method Detail |
---|
java.lang.Object get()
java.lang.Object get(long timeout, java.util.concurrent.TimeUnit units)
Promise leftShift(groovy.lang.Closure callable)
Promise onComplete(groovy.lang.Closure callable)
Promise onError(groovy.lang.Closure callable)
Promise then(groovy.lang.Closure callable)
Groovy Documentation