new CompositeFuture()
- Source:
Methods
cause(index) → {todo}
Returns a cause of a wrapped future
Parameters:
Name |
Type |
Description |
index |
number
|
the wrapped future index |
- Source:
Returns:
-
Type
-
todo
failed(index) → {boolean}
Returns true if a wrapped future is failed
Parameters:
Name |
Type |
Description |
index |
number
|
the wrapped future index |
- Source:
Returns:
-
Type
-
boolean
isComplete(index) → {boolean}
Returns true if a wrapped future is completed
Parameters:
Name |
Type |
Description |
index |
number
|
the wrapped future index |
- Source:
Returns:
-
Type
-
boolean
result(index) → {Object}
Returns the result of a wrapped future
Parameters:
Name |
Type |
Description |
index |
number
|
the wrapped future index |
- Source:
Returns:
-
Type
-
Object
setHandler(handler) → {CompositeFuture}
Parameters:
Name |
Type |
Description |
handler |
function
|
|
- Source:
Returns:
-
Type
-
CompositeFuture
size() → {number}
- Source:
Returns:
succeeded(index) → {boolean}
Returns true if a wrapped future is succeeded
Parameters:
Name |
Type |
Description |
index |
number
|
the wrapped future index |
- Source:
Returns:
-
Type
-
boolean