Comment on Sane Async Patterns in JavaScriptparentComments−craigyk13yI agree, I often will write promise wrappers for other people's stuff, but for the external surface of my module I have callbacks.Also, callbacks ARE sometimes nicer than promises, etc... especially if you have CoffeeScript function syntax.
Comments
I agree, I often will write promise wrappers for other people's stuff, but for the external surface of my module I have callbacks.
Also, callbacks ARE sometimes nicer than promises, etc... especially if you have CoffeeScript function syntax.