Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinsuspend compiled to state machineSingle-choice MCQ

A suspend function's entire body is a single delegating call: `suspend fun load() = repo.fetch()` where `fetch` is also `suspend`. What does the compiler generate for `load`?

suspend fun load() = repo.fetch()