Kotlin, Callable and ExecutorService
I've recently written about using Callable in Groovy, but how does it look like in kotlin?Callable instance as separete class First, let's create class which implements Callable interface:class MyJob : Callable<Int> { override fun call() = 42}... Read more