Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aleksandarzekovic/3976b843e6c66e2441642e3bcbb8576e to your computer and use it in GitHub Desktop.
Save aleksandarzekovic/3976b843e6c66e2441642e3bcbb8576e to your computer and use it in GitHub Desktop.
@InternalCoroutinesApi
public abstract class AbstractCoroutine<in T>(
parentContext: CoroutineContext,
initParentJob: Boolean,
active: Boolean
) : JobSupport(active), Job, Continuation<T>, CoroutineScope {
// ...
public fun <R> start(start: CoroutineStart, receiver: R, block: suspend R.() -> T) {
start(block, receiver, this)
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment