-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
theme: kotlinAn issue related to Kotlin supportAn issue related to Kotlin supporttype: documentationA documentation taskA documentation task
Milestone
Description
I feel like the docs should include a simple example demonstrating automatic context propagation. Something akin to framework-docs/src/main/kotlin/org/springframework/docs/languages/kotlin/coroutines/propagation/ContextPropagationSample.kt, but preferably using the simplest canonical constructs: coroutineScope and yield() for the suspension point.
Btw, is there a good reason to use delay(1) for the suspension point in current documentation? I feel like yield() should be more obvious to newcomers.
Metadata
Metadata
Assignees
Labels
theme: kotlinAn issue related to Kotlin supportAn issue related to Kotlin supporttype: documentationA documentation taskA documentation task