Constructor
new Resource(resource)
Parameters:
Name | Type | Description |
---|---|---|
resource |
T | The actual resource |
- Source:
Methods
use() → {T}
Obtain the resource and increase the internal use-counter
and last-used date.
- Source:
Returns:
The underlying resource.
- Type
- T