**Aren't Queue calls Isolated? ** I have a simple `queue` function which starts by logging the numbe
Aren't Queue calls Isolated?
I have a simple
queue
function which starts by logging the number of messages logged so far. The Logger
is a simple ES6 module I wrote by myself.
If queue
calls were isolated (by creating a V8 isolate for each call), then the logged number of messages should always be Zero.
But it's not. It's always increasing which means all queue
calls are being made within the same running environment.
IS it how it's designed?
I was under impression all Workers calls create a new V8 isolate and there is no shared data/memory between the calls.
0 Replies