workerize icon indicating copy to clipboard operation
workerize copied to clipboard

generator and async generator support

Open johnsonjo4531 opened this issue 5 years ago • 2 comments

fixes #38 First thing to note about this is that I broke the microbundle build. I'll attempt to fix the generator function to not use things microbundle doesn't expect, but I'm not sure how far I'll get with that. Which that's also something tying up this pull request: https://github.com/developit/greenlet/pull/50

One other thing to note about this is that I decided on returning a promise of the asyncIterator from the generator function. This is due to the fact that the function from the user only ever gets evaluated as an executable function on the worker side.

johnsonjo4531 avatar Dec 30 '19 08:12 johnsonjo4531

Status?

egriff38 avatar Feb 13 '20 16:02 egriff38

@xepher0coded The build and tests should be passing I think it is now ready for review.

johnsonjo4531 avatar Feb 13 '20 17:02 johnsonjo4531