Skip to content

jribeiro/safer-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saferAsync

Build Status

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

About

Better error handling and profiling for the async library

Resources

License

Stars

Watchers

Forks

Packages

No packages published