| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| // TODO: Is this the full API? Do we need to add anything else? | ||
| worker = { | ||
| kill() {}, | ||
| terminate() {}, |
There was a problem hiding this comment.
Should we implement these methods to remove the proxied methods on the worker? Or fine as no-op?
Sorry, something went wrong.
There was a problem hiding this comment.
TBH I'm tempted to not even emulate these since they do nothing. Doing an existence-test for worker.terminate would be a decent way to know if the worker got inlined or not.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is to show that falling back to the main thread when Workers aren't supported works. There's a lot of TODOs because I wasn't sure the best way to go about a couple of things.
Bundles: