I found you can <configure the compiler> to produc...
# kotlin-native
j
I found you can configure the compiler to produce an application for running unit tests in a worker thread with
-trw
. But the issue is that the main dispatch queue isn't started, so code dispatched to the main thread is never run. This is true using either
dispatch_sync(dispatch_get_main_queue())
or coroutines
withContext(Dispatchers.Main)
. I created a YouTrack issue.