commonMain.fr.acinq.lightning.utils.channels.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightning-kmp-jvm Show documentation
Show all versions of lightning-kmp-jvm Show documentation
A Kotlin Multiplatform implementation of the Lightning Network
package fr.acinq.lightning.utils
import kotlinx.coroutines.flow.MutableStateFlow
import kotlin.reflect.KProperty
operator fun MutableStateFlow.setValue(thisRef: Any?, property: KProperty<*>, value: T) {
this.value = value
}
operator fun MutableStateFlow.getValue(thisRef: Any?, property: KProperty<*>): T {
return this.value
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy