PausableComposition
Change the code generation of composable functions to enable pausing when a composable function is part of a pausable composition.
Pausable composition is an experimental runtime feature. Experiments with this feature can be run by enabling this feature flag and using a runtime version that supports pausable composition. If the runtime used does not support pausable composition, no change is made to the code generation.
This feature is enabled by default. To disable, provide this feature flag in a disabled state:
composeCompiler {
featureFlag = setOf(ComposeFeatureFlag.PausableComposition.disabled())
}
Content copied to clipboard