Skip to content

Glossary: Kotlin Beyond the Basics

catch (Flow)

Also written: onCompletion

Flow operators: `catch { }` handles exceptions from the steps above it and can emit a fallback, and `onCompletion { }` runs when the flow ends, normally or not.

Where the book teaches it

Related terms

flow