You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,9 @@ operations on the provided data.
32
32
*Arguments*
33
33
*`data`: This is the data you wish to operate on. Will often be an array, but the only restrictions are that your values are serializable as JSON.
34
34
*`options` (optional): Some options for your job
35
-
*`legacyEvalPath` (optional): The file eval.js must be included for IE 10 support. This option specifies the path to the eval.js file. By default it will look in the same location as parallel.js
35
+
*`evalPath` (optional): This is the path to the file eval.js. This is required when running in node, and required for some browsers (IE 10) in order to work around cross-domain restrictions for web workers. Defaults to the same location as parallel.js in node environments, and `null` in the browser.
36
36
*`maxWorkers` (optional): The maximum number of permitted worker threads. This will default to 4, or the number of cpus on your computer if you're running node
37
+
*`synchronous` (optional): If webworkers are not available, whether or not to fall back to synchronous processing using `setTimeout`. Defaults to `true`.
0 commit comments