Hey gents, our extensive use of Guava's EventBus a...
# coroutines
g
Hey gents, our extensive use of Guava's EventBus and our new use of coroutines is starting to get us in trouble. I want to be able to have a
suspend fun <http://EventBus.post|EventBus.post>(event: Any) = ...
such that I can post events synchronously but concurrently (by go-lang's definition of concurrency). I feel that there is a way to do this by backing an
AsyncEventBus
with a
dispatcher
, but I'm afraid to try it myself