Transaction Context
Functions
Link copied to clipboard
Link copied to clipboard
fun CoroutineContext.LinkedSupervisorJob(additionalContext: CoroutineContext? = null): CoroutineContext
Creates a SupervisorJob linked to this CoroutineContext's job. The new supervisor job will be a child of the current job, and optionally combined with additionalContext.
Link copied to clipboard
fun CoroutineContext.LinkedSupervisorScope(additionalContext: CoroutineContext? = null): CoroutineScope
Creates a new CoroutineScope with a SupervisorJob linked to this CoroutineContext's job. The new scope's supervisor job will be a child of the current job, and optionally combined with additionalContext.
Link copied to clipboard
Link copied to clipboard