Searched defs:withCurrent (Results 1 – 4 of 4) sorted by relevance
138 private inline fun <R> withCurrent(block: StateSetStateRecord<T>.() -> R): R = in writable() method
148 private inline fun <R> withCurrent(block: StateMapStateRecord<K, V>.() -> R): R = in <lambda>() method in androidx.compose.runtime.snapshots.SnapshotStateMap
182 private inline fun <R> withCurrent(block: StateListStateRecord<T>.() -> R): R = in writable() method
2475 inline fun <T : StateRecord, R> T.withCurrent(block: (r: T) -> R): R = block(current(this)) in withCurrent() method