“API Pekerja Web” Kode Jawaban

Apa itu WebWorker

web worker
Web Workers are a mechanism to create a separate thread 
in parallel to your main JS program thread. 
can only communicate with each other through normal async events 
always abide by the event-loop one-at-a-time behavior 
required by run-to-completion.
Pink Person

API Pekerja Web

if (typeof(Worker) !== "undefined") {
  // Yes! Web worker support!
  // Some code.....
} else {
  // Sorry! No Web Worker support..
}
naly moslih

Jawaban yang mirip dengan “API Pekerja Web”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya