1 comment

[ 5.9 ms ] story [ 9.7 ms ] thread
More like a language smell. The best you're doing here is naming your callbacks. Take a look at F#'s async for a beautiful way of dealing with this.