Last active

Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

An "async listener" concept for EventEmitters. When the listener has a callback function in its arguments list, then it is doing async work

shesek commented

Very cool! Checking the function's signature length to detect if its an async listener or not is pretty clever.

I wrote something very similar in CoffeeScript the other day and stumbled here while looking for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.