Interesting idea, though I feel that this is too similar to async functions.
What would be useful would some standard way of "awaiting" functions that require callbacks. Sort of like bluebird's Promise.fromCallback. Maybe
Which can only be used by a function call and the postpends the parameters with a suitable callback function
One new proposal for EcmaScript.
_______________________________________________ es-discuss mailing list firstname.lastname@example.org https://mail.mozilla.org/listinfo/es-discuss