=str remove unused akka.stream.impl.fusing.Completed (#20468)
This commit is contained in:
parent
e8937f967a
commit
e5c0872603
1 changed files with 0 additions and 22 deletions
|
|
@ -565,28 +565,6 @@ private[akka] final case class Buffer[T](size: Int, overflowStrategy: OverflowSt
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] final case class Completed[T]() extends GraphStage[FlowShape[T, T]] {
|
||||
|
||||
val out: Outlet[T] = Outlet("Completed.out")
|
||||
val in: Inlet[T] = Inlet("Completed.in")
|
||||
|
||||
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic = new GraphStageLogic(shape) with InHandler with OutHandler {
|
||||
|
||||
override def onPush(): Unit = { completeStage() }
|
||||
|
||||
override def onPull(): Unit = { completeStage() }
|
||||
|
||||
setHandlers(in, out, this)
|
||||
|
||||
}
|
||||
|
||||
val shape: FlowShape[T, T] = FlowShape.of(in, out)
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue