Isolates
I would like to create an isolate so that i can use the broadcastchannel api; i understand that an isolate must include its own sandbox and its own virtual network. My confusion is how is this done it just sounds like a compile script with an exposed network; am i wrong what secret am i missing?
3 Replies
OH V8 does this we can use the deno_core rust crate and JsRuntime
Deno Blog
Roll your own JavaScript runtime
A walk-through of creating a CLI that executes JavaScript files.
also realized you can just use a worker threads and a broadcastchannel will work just fine between the main and and any additional workers