Skip to content

Commit

Permalink
Fix import and yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed Aug 8, 2024
1 parent d361f57 commit 204af57
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.selects.select
import kotlinx.rpc.RPCConfig
import kotlinx.rpc.StreamScope
import kotlinx.rpc.internal.map.ConcurrentHashMap
Expand Down Expand Up @@ -243,7 +244,7 @@ public class RPCStreamContext(
}

public suspend fun send(message: RPCCallMessage.StreamMessage, serialFormat: SerialFormat) {
val info = select<RPCStreamCall?> {
val info: RPCStreamCall? = select {
incomingStreams.getDeferred(message.streamId).onAwait { it }
closedStreams.getDeferred(message.streamId).onAwait { null }
closed.onAwait { null }
Expand Down

0 comments on commit 204af57

Please sign in to comment.