Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MovileGente
Created March 21, 2019 14:35
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 MovileGente/88b7ba00a7c08fea78c30c1f51bcb982 to your computer and use it in GitHub Desktop.
Save MovileGente/88b7ba00a7c08fea78c30c1f51bcb982 to your computer and use it in GitHub Desktop.
interface Continuation<in T> {
   val context: CoroutineContext
   fun resume(value: T)
   fun resumeWithException(exception: Throwable)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment