Skip to content

Instantly share code, notes, and snippets.

@mayojava
Created October 17, 2018 18:56
Show Gist options
  • Save mayojava/0a7a41386426e9f75eb9210831fb5e35 to your computer and use it in GitHub Desktop.
Save mayojava/0a7a41386426e9f75eb9210831fb5e35 to your computer and use it in GitHub Desktop.
public fun withContext(
context: CoroutineContext,
block: suspend CorotuineScope.() -> T
): T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment