Skip to content

MartinDevi/Coroutines-Completion-Demo

Repository files navigation

Coroutines-Completion-Demo

Demo of the behavior of Kotlin coroutines with regards to completion.

Coroutine Builder Failure

Failure indicates that the default uncaught exception handler was invoked.

BuilderFailureUncaughtExceptionHandlerTest

BuilderFailureUncaughtExceptionHandlerTest.kt

Factory Job Child Failure

  1. Failure indicates that the default uncaught exception handler was invoked.

JobFailureUncaughtExceptionHandlerTest

JobFailureUncaughtExceptionHandlerTest.kt

  1. Failure indicates that the job failed.

JobFailureCancellationTest

JobFailureCancellationTest.kt

Scope Builder Failure

  1. Failure indicates that the scope builder function threw an exception.

ScopeFailureExceptionTest

ScopeFailureExceptionTest.kt

  1. Failure indicates that the default uncaught exception handler was invoked.

ScopeFailureUncaughtExceptionHandlerTest

ScopeFailureUncaughtExceptionHandlerTest.kt

About

Demo of the behavior of Kotlin coroutines with regards to completion

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages