A pool of objects whose disposable lifecycle is tracked.
The type of object held in the pool.
The current object.
A signal emitted when the current object changes.
If the last object being tracked is disposed,
null will be emitted.
Test whether the object has been disposed.
This property is always safe to access.
The number of objects held by the pool.
A signal emitted when an object is updated.
Dispose of the resources held by the object.
If the object's
dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Filter the objects in the pool based on a predicate.
The function by which to filter.
Find the first object in the pool that satisfies a filter function.
Iterate through each object in the pool.
The function to call on each object.
Check if this pool has the specified object.
The object whose existence is being checked.
Generated using TypeDoc