Skip to content

Commit

Permalink
Fix typos (mdn#21189)
Browse files Browse the repository at this point in the history
  • Loading branch information
de-oz authored Sep 30, 2022
1 parent d42b609 commit ca269eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ The `generatePrimes()` function is just like the synchronous version, except ins
>
> If you have any problems creating or running the example, you can review the [finished version](https://github.com/mdn/learning-area/blob/main/javascript/asynchronous/workers/finished) and try it [live](https://mdn.github.io/learning-area/javascript/asynchronous/workers/finished).
## Other types of worker
## Other types of workers

The worker we just created was what's called a _dedicated worker_. This means it's used by a single script instance.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -773,9 +773,9 @@ Finally, a message is sent to the worker to start it.
As multi-core computers become increasingly common, it's often useful to divide computationally complex tasks among multiple workers, which may then perform those tasks on multiple-processor cores.

## Other types of worker
## Other types of workers

In addition to dedicated and shared web workers, there are other types of worker available:
In addition to dedicated and shared web workers, there are other types of workers available:

- [ServiceWorkers](/en-US/docs/Web/API/Service_Worker_API) essentially act as proxy servers that sit between web applications, and the browser and network (when available). They are intended to (amongst other things) enable the creation of effective offline experiences, intercepting network requests and taking appropriate action based on whether the network is available and updated assets reside on the server. They will also allow access to push notifications and background sync APIs.
- [Audio Worklet](/en-US/docs/Web/API/Web_Audio_API#audio_processing_in_javascript) provide the ability for direct scripted audio processing to be done in a worklet (a lightweight version of worker) context.
Expand Down

0 comments on commit ca269eb

Please sign in to comment.