#200 - Remove @ExperimentalCoroutinesApi annotations.

This commit is contained in:
Sébastien Deleuze
2019-09-30 14:57:48 +02:00
committed by Mark Paluch
parent a67db9f88a
commit 35b0fec05a

View File

@@ -15,7 +15,6 @@
*/
package org.springframework.data.r2dbc.core
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.reactive.asFlow
import kotlinx.coroutines.reactive.awaitFirstOrNull
@@ -60,5 +59,4 @@ suspend fun <T> RowsFetchSpec<T>.awaitFirstOrNull(): T? =
*
* @author Sebastien Deleuze
*/
@ExperimentalCoroutinesApi
fun <T : Any> RowsFetchSpec<T>.flow(): Flow<T> = all().asFlow()