Skip to content

Commit dba7907

Browse files
committed
docs: fixed typos/verbiage
1 parent e5c122c commit dba7907

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ You can pass a function to be run as a job:
624624
new Bree({ jobs: [someFunction] });
625625
```
626626

627-
or
627+
(or)
628628

629629
```js
630630
new Bree({
@@ -637,10 +637,11 @@ new Bree({
637637
});
638638
```
639639

640-
Note that you cannot pass a built-in/bound function.
640+
The function will be run as if it's in its own file, therefore no variables or dependencies will be shared from the local context by default.
641641

642-
The function will be run as if it is in it's own file, therefore no variables or dependendencies will be shared from the local context by default.
643-
You should be able to pass data via `worker.workerData`, see [Custom Worker Options](#custom-worker-options).
642+
You should be able to pass data via `worker.workerData` (see [Custom Worker Options](#custom-worker-options)).
643+
644+
Note that you cannot pass a built-in nor bound function.
644645

645646

646647
## Concurrency

0 commit comments

Comments
 (0)