Skip to content

Glossary: Kotlin Basics

delay

Also written: delay()

A suspend function that pauses a coroutine for a number of milliseconds without blocking the thread, so other coroutines keep running.

Where the book teaches it

Related terms

suspend functionThread.sleep