Skip to content

Glossary: Kotlin Basics

Thread.sleep

Java's pause, which blocks the whole thread so no other coroutine on it can run. In coroutines, use `delay` instead.

Where the book teaches it

Related terms

delaythread