public class MultiValueDeferred extends AbstractDeferred
AbstractDeferred class which permits an array of
values to be passed in, for example if representing the result of a multi-out method call.| Constructor and Description |
|---|
MultiValueDeferred() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
resolve(Object... values)
Deliberately passes the values straight through to the abstract deferred so that
they will be resolved as multiple values.
|
addListener, getError, getValues, isFulfilled, isRejected, isSettled, reject, rejectpublic boolean resolve(Object... values)
resolve in class AbstractDeferredvalues - the result which resolves the Deferred.true if the resolution was successful, false otherwise.Copyright © 2021. All rights reserved.