Skip to content

Instantly share code, notes, and snippets.

@jorgecasariego
Created February 19, 2020 00:36
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 jorgecasariego/d3de6b79012e88ac63967ef2e61499ee to your computer and use it in GitHub Desktop.
Save jorgecasariego/d3de6b79012e88ac63967ef2e61499ee 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