Make ContextPropagation public to be used from custom akka stream stage implementations outside of the akka codebase

This commit is contained in:
Yury Gribkov 2021-08-11 08:38:45 -07:00
parent ad86f34462
commit fdbf706b3a

View file

@ -9,7 +9,7 @@ import akka.annotation.InternalApi
/**
* INTERNAL API
*/
@InternalApi private[akka] trait ContextPropagation {
@InternalApi trait ContextPropagation {
def suspendContext(): Unit
def resumeContext(): Unit
def currentContext(): AnyRef
@ -19,7 +19,7 @@ import akka.annotation.InternalApi
/**
* INTERNAL API
*/
@InternalApi private[akka] object ContextPropagation {
@InternalApi object ContextPropagation {
/**
* INTERNAL API