3 ms·
The parent comment meant `callbackTakingFunction: ((Res, Throwable) -> ()) -> ()`, not `blockingFunction: () -> Res` `ExecutorService#submit` works with the la
by ackfoobar 4y ago
The parent comment meant `callbackTakingFunction: ((Res, Throwable) -> ()) -> ()`, not `blockingFunction: () -> Res`
`ExecutorService#submit` works with the latter.