diff options
author | 2023-09-14 07:36:11 +0800 | |
---|---|---|
committer | 2023-09-13 16:36:11 -0700 | |
commit | cb01cb0d4ad67aace33ae603938d1a28a7c10ca7 (patch) | |
tree | 0dd54bdfac951c9eb66bc220af6f2ceab42ca270 /docs/api/workers.md | |
parent | 64033f11cc42e000ea3a67d7790359eeb21a7a00 (diff) | |
download | bun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.tar.gz bun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.tar.zst bun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.zip |
Fixed api & cli docs typo. (#5262)
* Fixed api & cli docs typo.
* Fix
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
Diffstat (limited to 'docs/api/workers.md')
-rw-r--r-- | docs/api/workers.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/workers.md b/docs/api/workers.md index 1a4a09965..50fdb9c3d 100644 --- a/docs/api/workers.md +++ b/docs/api/workers.md @@ -130,7 +130,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href); worker.unref(); ``` -Note: `worker.unref()` is not available in browers. +Note: `worker.unref()` is not available in browsers. ### `worker.ref()` @@ -151,7 +151,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href, { }); ``` -Note: `worker.ref()` is not available in browers. +Note: `worker.ref()` is not available in browsers. ## Memory usage with `smol` |