From fc0153320722b26b0fc947446d965f1904f0ed3e Mon Sep 17 00:00:00 2001 From: Yury Gribkov Date: Fri, 13 Aug 2021 06:57:39 -0700 Subject: [PATCH] Mark ContextPropagation with InternalStableApi --- .../main/scala/akka/stream/impl/ContextPropagation.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/akka-stream/src/main/scala/akka/stream/impl/ContextPropagation.scala b/akka-stream/src/main/scala/akka/stream/impl/ContextPropagation.scala index 32d9435419..270f1c17f6 100644 --- a/akka-stream/src/main/scala/akka/stream/impl/ContextPropagation.scala +++ b/akka-stream/src/main/scala/akka/stream/impl/ContextPropagation.scala @@ -4,12 +4,12 @@ package akka.stream.impl -import akka.annotation.InternalApi +import akka.annotation.InternalStableApi /** * INTERNAL API */ -@InternalApi trait ContextPropagation { +@InternalStableApi trait ContextPropagation { def suspendContext(): Unit def resumeContext(): Unit def currentContext(): AnyRef @@ -19,12 +19,12 @@ import akka.annotation.InternalApi /** * INTERNAL API */ -@InternalApi object ContextPropagation { +@InternalStableApi object ContextPropagation { /** * INTERNAL API */ - @InternalApi def apply(): ContextPropagation = new ContextPropagationImpl + @InternalStableApi def apply(): ContextPropagation = new ContextPropagationImpl } private[akka] final class ContextPropagationImpl extends ContextPropagation {