Mark ContextPropagation with InternalStableApi

This commit is contained in:
Yury Gribkov 2021-08-13 06:57:39 -07:00
parent 999b0853d5
commit fc01533207

View file

@ -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 {