MutationStrategy

A mechanism to finely adjust the behavior of the mutation on a component basis in Composable functions.

If you want to customize, please create a class implementing MutationStrategy. For example, this is useful when you want to switch your implementation to collectAsStateWithLifecycle.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun <T, S> collectAsState(mutation: MutationRef<T, S>): MutationState<T>