ddsoyka
09/10/2017, 10:08 PMfrontend
(Ktor) and backend
, which communicate through a shared common
library. I wanted to pass commands between the two layers using an event bus, but that won't work for e.g. suspend fun authenticate(username: String, password: String): Credentials?
. Is there a better solution to this problem, or some way to make the event bus play nice with suspending methods that return a value?