Optional
opts: ActionOptionsReleases a resource back to the pool, waits until necessary cleanup has been performed before resolving.
Optional
opts: ActionOptionsReleases a resource back to the pool and retires it (makes it unavailable for future use).
Optional
opts: ActionOptionsGenerated using TypeDoc
Acquires a resource from the pool, waits until a resource is available before resolving.