JobFuture

Parameters

T

the type of the job

V

the output of the job

fun <T, V> JobFuture(job: (T) -> V, jobInput: T)