KoneMutableAsynchronousHub
Functions
Link copied to clipboard
Link copied to clipboard
inline fun <Value, Result> KoneAsynchronousHub<Value>.buildSubscriptionAtomic(valueEquality: Equality<Value> = Equality.absoluteFor(), builder: KoneAsynchronousHubAtomicSubscriptionScope<Value>.(Value) -> Result): Result
Link copied to clipboard
inline fun <Value, Result> KoneAsynchronousHub<Value>.buildSubscriptionLocking(builder: KoneAsynchronousHubBlockingSubscriptionScope<Value>.(Value) -> Result): Result
Link copied to clipboard
inline suspend fun <Value> KoneMutableAsynchronousHub<Value>.getAndUpdate(transform: (Value) -> Value): Value
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun <Value> KoneMutableAsynchronousHub<Value>.updateAndGet(transform: (Value) -> Value): Value
Link copied to clipboard
Link copied to clipboard
inline fun <SourceValue, TargetValue> KoneAsynchronousHub<SourceValue>.view(crossinline get: (SourceValue) -> TargetValue): KoneAsynchronousHub<TargetValue>
inline fun <SourceValue, TargetValue> KoneMutableAsynchronousHub<SourceValue>.view(crossinline get: (SourceValue) -> TargetValue, crossinline set: suspend (previousSourceValue: SourceValue, newTargetValue: TargetValue) -> SourceValue): KoneMutableAsynchronousHub<TargetValue>