Skip to content

Commit d007671

Browse files
authored
Mark AwaitAllScope as experimental (#3597)
1 parent 90a5140 commit d007671

File tree

1 file changed

+2
-1
lines changed
  • arrow-libs/fx/arrow-fx-coroutines/src/commonMain/kotlin/arrow/fx/coroutines/await

1 file changed

+2
-1
lines changed

arrow-libs/fx/arrow-fx-coroutines/src/commonMain/kotlin/arrow/fx/coroutines/await/AwaitAllScope.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import kotlin.coroutines.EmptyCoroutineContext
1919

2020
@RequiresOptIn(level = RequiresOptIn.Level.WARNING, message = "This API is work-in-progress and is subject to change.")
2121
@Retention(AnnotationRetention.BINARY)
22-
@Target(AnnotationTarget.FUNCTION)
22+
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
2323
public annotation class ExperimentalAwaitAllApi
2424

2525
@ExperimentalAwaitAllApi
@@ -69,6 +69,7 @@ public suspend fun <A> CoroutineScope.awaitAll(
6969
* }
7070
* ```
7171
*/
72+
@ExperimentalAwaitAllApi
7273
public class AwaitAllScope(
7374
private val scope: CoroutineScope
7475
): CoroutineScope by scope {

0 commit comments

Comments
 (0)