ngx-web-worker icon indicating copy to clipboard operation
ngx-web-worker copied to clipboard

How to use this web worker to receive websocket and send?

Open Jamlearner opened this issue 6 years ago • 0 comments

I see that it returns a promise of the function,

        const promise = this._webWorkerService.run(this.someCPUHeavyFunction, input);
        promise.then(result => console.log(result));

How can I use a worker to receive a websocket and send the received information back?

Jamlearner avatar Apr 03 '19 23:04 Jamlearner