ai / ai/offscreen-canvas

Add support for worker options

Aperta
#24 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
342
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker

```
var myWorker = new Worker(aURL, options);
```

Worker supports an options variable being passed to the worker constructor. These options are required to enable es modules.

https://github.com/ai/offscreen-canvas/blob/ef3ac052cf3db22dd370ab9578fe5b0b982a9124/create-worker.js#L3

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.