From ca9fbd035cda96047abdda515cc99a443d0fd3f6 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sat, 2 Jul 2022 20:52:34 +0200 Subject: Upgrade coroutines to 1.6.3 --- .../kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'sw-client') 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 doAndWaitForEvent(send: suspend () -> Unit, subscribe: suspend () -> Flow): T = coroutineScope { val eventsFlow = subscribe() -- cgit