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/a2def39b2408eedeab17f925e2cd78be to your computer and use it in GitHub Desktop.
Save aleksandarzekovic/a2def39b2408eedeab17f925e2cd78be to your computer and use it in GitHub Desktop.
public actual fun <T> Continuation<T>.intercepted(): Continuation<T> =
(this as? ContinuationImpl)?.intercepted() ?: this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment