2017-03-15 11:07:28 +00:00
|
|
|
self.onconnect = function (event) {
|
2018-10-02 01:56:31 +00:00
|
|
|
const port = event.ports[0];
|
2017-03-15 11:07:28 +00:00
|
|
|
port.start();
|
|
|
|
port.postMessage([typeof process, typeof setImmediate, typeof global, typeof Buffer].join(' '));
|
|
|
|
};
|