This MR auto-detect if the currently running environment does not, or cannot, use SharedArrayBuffer, allowing regardless, through the exact same contract/API, to invoke only from main any worker exposed utility.
The logic adds the least possible overhead in such scenario without penalizing performance at all.
This MR auto-detect if the currently running environment does not, or cannot, use SharedArrayBuffer, allowing regardless, through the exact same contract/API, to invoke only from main any worker exposed utility.
The logic adds the least possible overhead in such scenario without penalizing performance at all.