diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2022-07-02 20:52:34 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2022-07-02 20:53:26 +0200 |
commit | ca9fbd035cda96047abdda515cc99a443d0fd3f6 (patch) | |
tree | 3545409ef25da63567a80f205ea9642e3129ecc4 /sw-client/src/commonMain | |
parent | Check-in yarn.lock (diff) | |
download | seven-wonders-ca9fbd035cda96047abdda515cc99a443d0fd3f6.tar.gz seven-wonders-ca9fbd035cda96047abdda515cc99a443d0fd3f6.tar.bz2 seven-wonders-ca9fbd035cda96047abdda515cc99a443d0fd3f6.zip |
Upgrade coroutines to 1.6.3
Diffstat (limited to 'sw-client/src/commonMain')
-rw-r--r-- | sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt index b0dfdee2..065635dd 100644 --- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt +++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt @@ -145,7 +145,6 @@ suspend fun SevenWondersSession.joinGameAndAwaitLobby(gameId: Long): LobbyDTO = subscribe = { watchLobbyJoined() }, ) -@OptIn(ExperimentalCoroutinesApi::class) private suspend fun <T> doAndWaitForEvent(send: suspend () -> Unit, subscribe: suspend () -> Flow<T>): T = coroutineScope { val eventsFlow = subscribe() |