I was trying to find multithreading support for JavaScript, and then came across napa, but in the list of supported API, there's no buffer.
But in the project I've been working, we are passing buffer as an argument to functions which are required to be multithreaded,
- can we use node zone from another zone for computing calculations regarding buffer?
- If so how? If not, is there any other way or should I switch to using other library which unfortunately have much higher overhead cost?
EDIT:- I am trying to implement multithreading where we require something like the following class to be transported:-
class Multi{
a(){
...
returns buffer;
}
... other properties
}