Return values from callbacks?

Brendan Eich brendan at
Thu Jun 21 08:02:34 PDT 2012

See dherman's for one way that ES6 will support, but 
which requires expliciti 'yield' usage when you "wrap" to make the 
preemption point clear.


Hemanth H.M wrote:
> Hello Hackers,
> If there was a easy way to wrap an asynchronous in a synchronous API 
> would it not be easy? Because we can wrap it that way any API will 
> need to accept a callback to return proceed values.
> I bit be speaking absolute non sense here, but just felt something 
> like that might makes things easier, while I was coding THIS 
> <>
> -- 
> /'I am what I am because of who we all are'/
> <>
> /-- Hemanth HM/
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list