bjonnh
Shawn
interface Processor<T> { fun process(consumer: (T) -> Unit): ProcessorStatus }
class FooProcessor : Processor<Foo> { override fun process(consumer: (Foo) -> Unit): ProcessorStatus { ... } }
A modern programming language that makes developers happier.