@augmentedjs/resource-manager
v1.0.2
Published
A strategy pattern based resource manager.
Downloads
4
Keywords
Readme
resource-manager
A strategy pattern based resource manager.
API
Table of Contents
StrategyManager
The Strategy Manager class
Parameters
type
register
register
Register method for creating a registy
Parameters
type
string Type of strategyclazz
any
get
Get a strategy class of type
Parameters
type
string The key for a strategy typeargs
...any Args to p[ass to a strategy class
Returns Strategy Returns subclass strategy type
strategy
Properties
The
Strategy strategy Class
Strategy
An abstract for use in strategy sub-classes