From f75b72990e44732a5916b35204ef50fd9679fa4d Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Thu, 13 Apr 2023 13:28:07 +0300 Subject: [PATCH] [K/N] Deprecate SuspendFunction interface with WARNING As a part of efforts to stabilize Native stdlib. --- .../src/main/kotlin/kotlin/coroutines/SuspendFunction.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/SuspendFunction.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/SuspendFunction.kt index 3cd5d360ef0..a94c606aa96 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/SuspendFunction.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/SuspendFunction.kt @@ -10,4 +10,6 @@ package kotlin.coroutines * * @param R return type of the function. */ +@Deprecated("This interface will be removed in a future release") +@DeprecatedSinceKotlin(warningSince = "1.9") public interface SuspendFunction