Property

LocalTaskDispatchers

The CompositionLocal to provide TaskDispatchers for running coroutines and asynchronous tasks inside a Compose UI hierarchy.

Source set: Common
public val LocalTaskDispatchers: ProvidableCompositionLocal<TaskDispatchers> =
    computedDefaultOf("LocalTaskDispatchers") { LocalOwner.currentValue.taskDispatchers }

The CompositionLocal to provide TaskDispatchers for running coroutines and asynchronous tasks inside a Compose UI hierarchy.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: