1 comment

[ 2.6 ms ] story [ 15.4 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.