In some client work we’re doing, we just keep ever...
# touchlab-tools
k
In some client work we’re doing, we just keep everything main thread for now to stick to 1 scope, but this all assumes this issue is resolved soon, or we’ll need to come up with an alternate solution.
😮 1
a
By, "In some client work we’re doing, we just keep everything main thread for now to stick to 1 scope" does this mean, creating:
Copy code
object IosMainDispatcher : CoroutineDispatcher() {
        override fun dispatch(context: CoroutineContext, block: Runnable) {
            dispatch_async(dispatch_get_main_queue()) { block.run() }
        }
    }
for ios?