A Success callback is registered with a Promise using the
Promise#then(Success) method and is called if the Promise is resolved
successfully.
This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
| Modifier and Type | Method and Description |
|---|---|
| public Promise |
| call | back to summary |
|---|---|
| public Promise Success callback for a Promise. This method is called if the Promise with which it is registered resolves successfully.
In the remainder of this description we will refer to the Promise
returned by this method as the returned Promise and the Promise returned
by
If the returned Promise is | |