dispatchOnWorker

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>