2.0.0 • Published 3 years ago

understudy-promise v2.0.0

Weekly downloads
3
License
Unlicense
Repository
github
Last release
3 years ago

understudy-promise

Based on understudy v4.1.0.

Differences

  • There is only one argument to the hooks. If you need multiple arguments, pass in arrays or objects. The argument is also passed to the perform function.
  • When using waterfall, the result of the before hook function chain is passed down to the perforn function.
  • There is no callback to either .perform or .waterfall. They return promises, so use .then and .catch. Errors thrown when there is no .catch are not ignored.
  • Additional API for removing hooks: unregister(action, func) to remove a single hook and unregisterAll([action]) to remove many.
2.0.0

3 years ago

1.1.0

3 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago