public interface OnComplete
Listener for a Deferred entering a state where Promise.isDone()
returns true.
Deferred| Modifier and Type | Method and Description |
|---|---|
void |
complete(int state) |
void complete(int state)
state - The final state of the Deferred. It is not guaranteed that this parameter will be
one of the constants defined in Promise, inheritors MAY provide alternate
terminal states.Deferred.RESOLVED,
Deferred.REJECTED,
Deferred.PENDINGCopyright © 2014 MachineCode. All rights reserved.