A State that can be disposed to stop its underlying state transformation.

This is meant to be returned from a transform.

Parameters
<T : Any?>

The type of data held by this state.

Summary

Public functions

Unit

Disposes this state.

Cmn

Inherited properties

From androidx.compose.runtime.State
T
Cmn

Public functions

dispose

fun dispose(): Unit

Disposes this state.

In the context of a transform, this will remove it from the TransformScope and prevent it from getting any further updates.