withCurrent

inline fun <T : StateRecord, R> T.withCurrent(block: (T) -> R): R

Provides a block with the current record, without notifying any read observers.

See also

readable