All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.brightify.hyperdrive.util.InternalUtils.kt Maven / Gradle / Ivy

There is a newer version: 0.1.159
Show newest version
package org.brightify.hyperdrive.util

import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlin.reflect.KProperty

internal operator fun  StateFlow.getValue(thisRef: OWNER, property: KProperty<*>): T = value

internal operator fun  MutableStateFlow.setValue(thisRef: OWNER, property: KProperty<*>, newValue: T) {
    value = newValue
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy