leobalter / shadowrealms-polyfill

MIT License
58 stars 0 forks source link

Investigate usage of Generators and AsyncGenerators #2

Open leobalter opened 3 years ago

leobalter commented 3 years ago

cc @jdalton

littledan commented 3 years ago

I think it's OK to omit async functions, generators and async generators from the API, as they can be built from sync functions as primitives. But, it would also be fine to include a non-minimal API, for ergonomic/usability reasons.