Compose API Reference Compose Runtime withCurrent Function Common public inline fun <T : StateRecord, R> T.withCurrent(block: (r: T) -> R): R Provides a block with the current record, without notifying any read observers.
Compose API Reference Compose Runtime withCurrent Function Common public inline fun <T : StateRecord, R> T.withCurrent(block: (r: T) -> R): R Provides a block with the current record, without notifying any read observers.