Generator function/yield and async/await on the client via ecmascript package?

From the Meteor docs, It looks like generator functions (and the yield keyword) are only supported on the server.

Can we expect ES2015 generators on the client? If so when? They appear to be supported by the babel compiler.

What about async/await?

1 Like

The Meteor Guide suggests that we can async/await on the browser.

I would like to use this with Meteor methods (that have no stub), so I can write synchronous looking code in the browser that makes RPCs to the server.

I’m not sure if it’s worth the trouble of promisifying the Meteor.call api or not.