@augmentedjs/resource-manager

1.0.2 • Public • Published

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 strategy
  • clazz any

get

Get a strategy class of type

Parameters

  • type string The key for a strategy type
  • args ...any Args to p[ass to a strategy class

Returns Strategy Returns subclass strategy type

strategy

Properties

Strategy

An abstract for use in strategy sub-classes

/@augmentedjs/resource-manager/

    Package Sidebar

    Install

    npm i @augmentedjs/resource-manager

    Weekly Downloads

    0

    Version

    1.0.2

    License

    Apache 2.0

    Unpacked Size

    15.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • mukundanps
    • thedocbwarren
    • kcalpo
    • jtwalker2000