|
75 | 75 |
|
76 | 76 | :mixed-exec/:io-exec/:compute-exec -> ExecutorService
|
77 | 77 | These can be used to specify the ExecutorService to use for the
|
78 |
| - corresonding workflow, in lieu of the lib defaults. |
| 78 | + corresonding workload, in lieu of the lib defaults. |
79 | 79 |
|
80 | 80 | N.B. The flow is not started. See 'start'"
|
81 | 81 | [config] (impl/create-flow config))
|
|
210 | 210 | fn.
|
211 | 211 |
|
212 | 212 | process accepts an option map with keys:
|
213 |
| - :workflow - one of :mixed, :io or :compute |
214 |
| - :compute-timeout-ms - if :workflow is :compute, this timeout (default 5000 msec) |
| 213 | + :workload - one of :mixed, :io or :compute |
| 214 | + :compute-timeout-ms - if :workload is :compute, this timeout (default 5000 msec) |
215 | 215 | will be used when getting the return from the future - see below
|
216 | 216 |
|
217 |
| - A :workflow supplied as an option to process will override |
218 |
| - any :workflow returned by the :describe fn of the process. If neither |
| 217 | + A :workload supplied as an option to process will override |
| 218 | + any :workload returned by the :describe fn of the process. If neither |
219 | 219 | are provded the default is :mixed.
|
220 | 220 |
|
221 | 221 | The :compute workload is not allowed for proc impls that
|
222 | 222 | provide :introduce (as I/O is presumed).
|
223 | 223 |
|
224 |
| - In the :workflow context of :mixed or :io, this dictates the type of |
| 224 | + In the :workload context of :mixed or :io, this dictates the type of |
225 | 225 | thread in which the process loop will run, _including its calls to
|
226 | 226 | transform/introduce_.
|
227 | 227 |
|
|
237 | 237 |
|
238 | 238 | When :compute is specified transform must not block!"
|
239 | 239 | ([process-impl-map] (process process-impl-map nil))
|
240 |
| - ([process-impl-map {:keys [workflow timeout-ms] |
| 240 | + ([process-impl-map {:keys [workload timeout-ms] |
241 | 241 | :or {timeout-ms 5000} :as opts}]
|
242 | 242 | (impl/proc process-impl-map opts)))
|
243 | 243 |
|
|
0 commit comments