Create a new restorable pool.
The instantiation options for a restorable pool.
The current object.
The restorable pool does not set current. It is intended for client use.
If current is set to an object that does not exist in the pool, it is a
no-op.
The current object.
Test whether the pool is disposed.
The number of objects held by the pool.
Restore the objects in this pool's namespace.
The configuration options that describe restoration.
A promise that resolves when restoration has completed.
This function should almost never be invoked by client code. Its primary use case is to be invoked by a layout restorer plugin that handles multiple restorable pools and, when ready, asks them each to restore their respective objects.
An object pool that supports restoration.
Typeparam
T - The type of object being tracked.