| Modifier and Type | Method | Description |
|---|---|---|
static SyncPromise |
SyncPromise.all(Func... funcs) |
Promise.all waits for all fulfillments (or the first rejection).
|
static SyncPromise |
SyncPromise.all(Thennable... promises) |
Promise.all waits for all fulfillments (or the first rejection).
|
SyncPromise |
SyncPromise.always(Func func) |
|
SyncPromise |
SyncPromise.always(Thennable promise) |
|
static SyncPromise |
SyncPromise.reject() |
Returns a Promise object that is rejected with null reason.
|
static SyncPromise |
SyncPromise.reject(Object reason) |
Returns a Promise object that is rejected with a given reason.
|
static SyncPromise |
SyncPromise.resolve() |
Returns a Promise object that is resolved with null value
|
static SyncPromise |
SyncPromise.resolve(Object data) |
Returns a Promise object that is resolved with a given value
|
SyncPromise |
SyncPromise.start() |
|
SyncPromise |
SyncPromise.then(Func... funcs) |
Specify the operation to be performed after the promise processing.
|
SyncPromise |
SyncPromise.then(Thennable... promises) |
Specify the operation to be performed after the promise processing.
|
Copyright © 2019. All rights reserved.