safer-async
v0.0.7
Published
Provides better error handling and profiling for the async library
Downloads
1
Readme
saferAsync
Async library is great but it can be quite hard to debug and figure out what's happening behind the scenes. saferAsync aims to solve this by wrapping the async library functions, providing:
- error handling - domains;
- error if callback is called more than once
- timeout for the callback calling - if the callback is not called within the timeout defined than the callback is manually called using
callback(err)
- notification of function start and callback calling - useful for monitoring and tracking how long a function is taking to complete
WIP - check the tests for examples