Hamelraj

Results 7 comments of Hamelraj

> this.$worker.run((arg1) => `this.$worker run 2: ${arg1}`, [this.$reversedMessage]). // not working this.$worker.run((arg1) => `this.$worker run 2: ${arg1}`, [this.reversedMessage]). // working

> worker i couldn't find. waiting for @israelss reply.

> Here's how pass functions to vue-worker in a Vue component: > > `const myMethod = this.myMethod; this.$worker.run(myMethod(params));` how this work as per your idea - https://github.com/israelss/vue-worker/issues/27

> In your example in #27, try `this.$worker.run(workerJob());` instead. `woerrjob` is not defined error

> In your example in #27, try `this.$worker.run(workerJob());` instead. im getting below error ?? `const workerJob= this.workerJob; this.$worker.run(workerJob());` `TypeError: You should provide a function`

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

hi you can use in your **BroadcastServiceProvider** ``` public function boot() { Broadcast::routes(['middleware' => 'auth']); require base_path('routes/channels.php'); } ```