Add @InternalApi annotations and private markers on internal apis (#22563)
* #22506 Mark materializer extension as @InternalApi * #22506 Added missing annotations on internal apis in the fusing package * #22506 Missing annotations in io package * #22506 Add internal api annotations in impl package * #22563 more hiding of the classes in the impl package * #22563 Formatting fixes * #22506 Fix private access in stream tcl tests
This commit is contained in:
parent
6434cbe868
commit
2a9c0370e0
60 changed files with 568 additions and 316 deletions
|
|
@ -4,17 +4,25 @@
|
|||
package akka.stream.impl
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.annotation.InternalApi
|
||||
import akka.stream._
|
||||
import akka.stream.scaladsl._
|
||||
|
||||
import language.higherKinds
|
||||
|
||||
object SubFlowImpl {
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
@InternalApi private[akka] object SubFlowImpl {
|
||||
trait MergeBack[In, F[+_]] {
|
||||
def apply[T](f: Flow[In, T, NotUsed], breadth: Int): F[T]
|
||||
}
|
||||
}
|
||||
|
||||
class SubFlowImpl[In, Out, Mat, F[+_], C](
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
@InternalApi private[akka] class SubFlowImpl[In, Out, Mat, F[+_], C](
|
||||
val subFlow: Flow[In, Out, NotUsed],
|
||||
mergeBackFunction: SubFlowImpl.MergeBack[In, F],
|
||||
finishFunction: Sink[In, NotUsed] ⇒ C)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue