# Kotlin Continuations

DevFeed: [Kotlin Continuations](<https://devfeed.tech/articles/kotlin-continuations-27465.md>)

Original publisher: [Read original article](<https://jorgecastilloprz.github.io/digging-into-kotlin-continuations>)

Author: Jorge Castillo

Published: 2020-09-03T11:00:00Z

Content type: tutorial

Language: en

Sources: [👨💻 Jorge Castillo](<https://devfeed.tech/sources/jorge-castillo.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [callback](<https://devfeed.tech/tags/callback.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [continuation](<https://devfeed.tech/tags/continuation.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [exception](<https://devfeed.tech/tags/exception.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [suspend](<https://devfeed.tech/tags/suspend.md>)

## AI overview

This article explains Kotlin continuations as a form of control flow and describes how the Kotlin compiler transforms suspend functions into continuation-passing, callback-style code. It also covers continuation contracts, coroutine resumption, and when manually creating continuations may be useful.

## Source excerpt

Continuations represent the rest of a program. They are a form of control flow.