Skip to content
#

workers

Here are 377 public repositories matching this topic...

gpoitch
gpoitch commented Oct 1, 2018

I know this is specific to web workers, however I think this could be adapted to work for service workers. I was looking to create a separate plugin but the code would be mostly the same.

Looks like it scans the AST for a keyword (Worker) and generates an entry for the referenced file.

// web worker
new Worker('./foo.js', { type: 'module' })

// service worker
navigator.servi
bree
hdrodel
hdrodel commented Jun 2, 2021

there is the following example:
// runs./jobs/worker-8.jsat midnight (once) { name: 'worker-8', timeout: 'at 12:00 am' },

in my usecase i am running a job every 30 minutes that queries an api and dynamically adds jobs to be executed once.
My question is what happenes to the jobs in the queue after they are executed. Will finished jobs be cleared out automat

joaom182
joaom182 commented Jul 28, 2018
Crash java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load script from assets 'threads/pre-load-data-worker.thread.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.

![screen shot 2018-07-28 at 11 29 18](https://user-images.githubusercontent.com/3612098/43357535-8379af28-9259-11e8-9c5a-96

Improve this page

Add a description, image, and links to the workers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the workers topic, visit your repo's landing page and select "manage topics."

Learn more