Richard Carson

Results 56 comments of Richard Carson

Fixed in master, will leave this open this the next version publishes.

Perhaps a new js_value variant is warranted?

A pr with that added to examples, or even the book would be appreciated

Since `DefaultWorker` is already send, putting the worker in an Rc or Arc, could give you clone Plus refcell if you need mutability

I could probably switch to Tokio channels I'm open to a pr for it

> I don't now if this helps, but I implemented a AsyncWorker to use it with my multithreaded main runtime in a bigger app: > > ```rust > > pub...

Very similar to something I built into the rustyscript cli

Just fyi, the `check_op_whitelist` test is to prevent sandbox-breaking vulnerabilties like op_panic in `src/op_whitelist.js` you'll find the list. Basically I go to deno or deno_core where the op is defined,...

I'd like to integrate this into the rustyscript-cli instead of the main crate!