vue-worker icon indicating copy to clipboard operation
vue-worker copied to clipboard

A Vue.js plugin to use webworkers in a simply way.

Results 24 vue-worker issues
Sort by recently updated
recently updated
newest added

I have read this **It is not possible to pass as an arg this from a Vue Component. You can pass this.$data or any variable within data or computed** but...

This is my code: ``` methods: { setTimer(val) { this.timerWorker = this.$worker.run(function(val) { console.log(setInterval) console.log(val) const timer = setInterval(function() { val -= 17 console.log('setInterval', val) }, 17); return val },...

Hi, I have implemented the worker as mentioned in the documentation. But myrequirement is to call an API and run it inside as a separate thread inside worker. Is there...

Hi, I have a problem to stop the worker before it finishes its task. I tried to set worker = null in the destroyed method of the component but the...

When I run a function which uses imported lodash functions, I get an error: `Uncaught ReferenceError: __WEBPACK_IMPORTED_MODULE_10_lodash___default is not defined ` Is there a workaround for this, or imported modules...

Currently I would like to know if it is possible: Scenario, have two functions; The first is a generic function to create workers and returns value. The second is an...

``` // worker.js const add = (a, b) => { return a + b } export const testfun = (a, b) => { return add(a, b) } ``` ``` import...

i have methods like this ``` methods: { workerJob(){ var count = 0; for (var i = 0; i < 5; i++) { count ++; } } } ``` How...