The duration, in milliseconds, to wait before deleting
settled Promises.
An empty PromiseMap.
The number of Promises that were deleted.
The key of the Promise to delete.
True if key and the matching Promise were in the owned set.
If key is not in the owned set, a new Promise will be created.
The key of the Promise to get.
The matching Promise to the key.
The key to check for membership in the owned set.
True if this contains the requested key.
The key of the Promise whose status is to be queried.
True if the key is in the owned set and the matching Promise
is fulfilled.
The key of the Promise whose status is to be queried.
True if the key is in the owned set and the matching Promise
is pending.
The key of the Promise whose status is to be queried.
True if the key is in the owned set and the matching Promise
is rejected.
The key of the Promise to be rejected. Must be pending or
not in the owned set.
The reason to reject the Promise with.
True if a new Promise was inserted.
Rejects all pending Promises that are not following another Promise.
The reason to reject any pending Promises with.
The number of rejected Promises.
The matching Promise to key will remain pending until value
resolves. If value is a Promise-like type, the corresponding
Promise will follow value. If not, the owned Promise will be
fulfilled.
The key of the Promise to be settled. Must be pending or
not in the owned set.
The value to settle the Promise to.
True if a new Promise was inserted.
Generated using TypeDoc
PromiseMapis a key-value store where the values arePromises. It allows for inspection of the state of ownedPromises - whether pending, fulfilled, or rejected - as well as the ability to resolve or reject ownedPromises that are pending.