suparnatural-concurrency
/
com.suparnatural.core.concurrency
/
JobDispatcher
/
dispatchOnWorker
common
dispatch
On
Worker
Dispatches
job
with
jobInput
on the
worker
instance
Parameters
T
the input of the
job
V
the output of the
job
fun <
T
,
V
>
dispatchOnWorker
(worker:
Worker
, jobInput:
T
, job: (
T
) ->
V
):
Future
<
V
>
Content copied to clipboard