withCurrent
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.
Provides a block with the current record, without notifying any read observers.
RevenueCat
Add subscriptions to your apps in minutes
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.