Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aleksandarzekovic/e7bdbef9c631639fe9ee72e43fa606cc to your computer and use it in GitHub Desktop.
Save aleksandarzekovic/e7bdbef9c631639fe9ee72e43fa606cc to your computer and use it in GitHub Desktop.
private open class StandaloneCoroutine(
parentContext: CoroutineContext,
active: Boolean
) : AbstractCoroutine<Unit>(parentContext, initParentJob = true, active = active) {
override fun handleJobException(exception: Throwable): Boolean {
handleCoroutineException(context, exception)
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment