Skip to content

Instantly share code, notes, and snippets.

@RBusarow
Last active July 7, 2019 18:33
Show Gist options
  • Save RBusarow/82b3fc791d89e2bbfad88e2d9fa48526 to your computer and use it in GitHub Desktop.
Save RBusarow/82b3fc791d89e2bbfad88e2d9fa48526 to your computer and use it in GitHub Desktop.
public fun CoroutineScope.launch(
context: CoroutineContext = EmptyCoroutineContext,
start: CoroutineStart = CoroutineStart.DEFAULT,
block: suspend CoroutineScope.() -> Unit
): Job {...}
public fun <T> CoroutineScope.async(
context: CoroutineContext = EmptyCoroutineContext,
start: CoroutineStart = CoroutineStart.DEFAULT,
block: suspend CoroutineScope.() -> T
): Deferred<T> {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment