<@U8X1UM66N> that wasn't the question i asked, cal...
# coroutines
s
@Jonathan that wasn't the question i asked, callback is there for a reason
j
Ok... But if you don't want to make the code testable, then the answer is "no you have to test it as you would test any callback based code". Using `Unconfied`will not make the overall synchronous. As soon as something suspend, the thread which used
Unconfied
will continue to execute and the suspended coroutine may resume later in another thread. An here, as you obviously use a UI and a baground context,
Unconfined
will be of no help.