async-functions
A simple, clean way of calling functions asynchronously
Install
$ npm install async-functions
Usage
; var { console;} foo; // Logs "3", but async! var { console; console;}; var scope = baz: 'Hello!' ; bar; // Logs "Hello!" and then "3" // Also works in the .apply stylefoo
How does it work?
How do you think..? I modified the Function
prototype. Yes, I know, I'm going to hell..
License
None. Public Domain.