<@U6P03BM0W>. Two things. First, change your proce...
# coroutines
e
@dave08. Two things. First, change your processor declaration to:
Copy code
override suspend fun <I, R> register(id: String, processor: suspend (I) -> R)
(note that processor must be a suspending functional type). Then you can register to it like this:
Copy code
.register<ConnectedDevice, Int>("device_connected") { deviceConnected(it) }