1 comment

[ 2.9 ms ] story [ 10.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.