Gets the instance of the specified resource.
The type of the resource to retrieve.
The constructor of the resource to retrieve.
The instance of the resource.
if the resource is not found.
Tries to add a resource to the monitor.
The type of the resource to add.
The constructor of the resource to add.
Optional
resolver: Resolver<TResource>The resolver function for the resource (optional).
True if the resource was successfully added, false otherwise.
Generated using TypeDoc
Represents a resource monitor. Extends IResourceContainer.