Jason Miller
Jason Miller
@matheo want to open a PR?
@dimpiax I had a bunch of tests I was running in a REPL when writing the header parsing, I should have ported them to unit tests but didn't. Happy to...
Curious if this still happens in `3.1.0`, since it includes #117.
Sound good. We will definitely need to selectively ignore some tests though.
unfetch intentionally doesn't recreate the `Headers` or `Response` classes, instead using POJO's for them to shave bytes (so those tests should all fail). The rest are just size tradeoffs -...
Need to check the effect on filesize, but I'd imagine this is a savings! (due to uglify better optimizing early returns than nested conditionals)
hey @cades - that nested `.then()` is important - without it, an exception thrown by the method being called won't be passed back via RPC, it'll just be emitted as...
Task Worklet is a different take on this model. It uses some features if Tasklets, but aligns more closely with the Worklet model and seeks to do things like pooling...
Definitely interested in this, for `workerize-loader` as well. The Promise-wrapping idea is great, too - I hadn't thought of that.
### This turned into documentation, my apologies. Passing a function instead of a string is a little more involved than running that function in a Worker. Workerize functions by parsing...