0.1.2 • Published 9 years ago

mosaic-dependencies v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

# mosaic-dependencies

Promise-based dependency management. This module allows to manage a good order of asynchronous method calls taking into account a chain of dependencies.

The "Dependencies" class of this module allows to define dependencies between elements using their string keys. It checks that there is no cycles in dependency declarations. This class allows to recursively retrieve all dependencies as well as all dependent keys.

This module also declares two utility methods:

  • callDependencies
  • callDependents

These method take a dependency object and an element key as parameters and calls a specified listener for all dependencies or dependent elements taking into account their declaration order.

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago