What would be your suspending function then? I wou...
# coroutines
i
What would be your suspending function then? I would say putting runBlocking around non suspending code is a noop. What are you trying to achieve? 4 replies Uli, I would like exceptions to be logged by my library, but the problem is that the
future
declaration occurs in the user of my library’s code - so really I’m looking for a recommendation to my users that will allow them to synchronously wait on futures, but without losing exceptions that might be thrown in that code.