is this dispatcher no good for MacOS target? ```Co...
# multiplatform
d
is this dispatcher no good for MacOS target?
Copy code
CoroutineDispatcher() {
    override fun dispatch(context: CoroutineContext, block: Runnable) {
        dispatch_async(dispatchQueue) {
            block.run()
        }
Used it for iOS without any issues, now when connected to macOS, getting kotlin.IllegalStateException: There is no event loop. Use runBlocking { ... } to start one when invoking an API call. I see there was a similar issue with iOS last year? https://github.com/Kotlin/kotlinx.coroutines/issues/470