Created
February 18, 2019 17:22
-
-
Save jeremyrempel/941a239d7bf6bfcef8eca08dc112a551 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UI: Kotlinx_coroutines_core_nativeCoroutineDispatcher { | |
override public func dispatch(context: KotlinCoroutineContext, block: Kotlinx_coroutines_core_nativeRunnable) { | |
DispatchQueue.main.async { | |
block.run() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment