Optional
options: ActionOptionsThe options for this individual .acquire
invocation.
A lease on a pool resouce.
Returns information on the state of the pool.
The set of current resources and leases.
Waits for the resource to be cleaned up (if necessary) and returns the lease to the pool.
If this operation times out or rejects, the lease is still released.
The lease obtained by .acquire
Optional
options: ActionOptionsThe options for this individual .release
invocation.
void
Immediately retire the resource associated with a lease and release the lease.
The lease obtained by .acquire
Optional
options: ActionOptionsThe options for this individual .retire
invocation.
void
Generated using TypeDoc
Waits for a resource to have capacity and obtains a lease on that resource, creating a resource if necessary.
If this operation times out or rejects, the lease is automatically released.