js-signals
js-signals copied to clipboard
Can promises be implemented for async signal callbacks
I am using Crossroads.js in my project for front-end routing. There, we map a callback to the route, which is triggered with the help of this library. But since this callback function does some async tasks, I need a promise mechanism to keep the sequence as intended.