TaskDispatchersSample
@Sampled
@Composable
fun TaskDispatchersSample() {
val taskDispatchers = LocalTaskDispatchers.current
LaunchedEffect(taskDispatchers) {
withContext(taskDispatchers.IO) {
// Perform background I/O operations using the provided IO context
}
}
Text("TaskDispatchers Sample")
}