Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlinsuspend functions usageSingle-choice MCQ

Which statement about calling a suspend function marked with a default argument that is itself a suspend expression is correct?

suspend fun now(): Long = System.currentTimeMillis() suspend fun log( message: String, timestamp: Long = now() ) { /* ... */ }