dcp-client 4.3.6 → 4.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -178,6 +178,24 @@ Jobs (job handles) are generally created with the `compute.for` function, which
178
178
 
179
179
  An input set can be described with arguments to `compute.for()` with `RangeObject` notation or passed directly as an enumerable object (such as an array or function* generator).
180
180
 
181
+
182
+ ### Worktimes
183
+
184
+ ### Examples
185
+ run Work on the whole numbers between 1 and 10:
186
+ ```javascript
187
+ job = compute.for(1, 10, Work)
188
+ ```
189
+ run Work on the numbers 6, 9, 12, 15:
190
+ ```javascript
191
+ job = compute.for(6, 16, 3, Work)
192
+ ```
193
+
194
+ run Work on the colors red, green, and blue:
195
+ ```javascript
196
+ job = compute.for(["red", "green" "blue"], Work)
197
+ ```
198
+
181
199
  ### Examples
182
200
  run Work on the whole numbers between 1 and 10:
183
201
  ```javascript