Add missing imports for Custom stream processing docs #25525
This commit is contained in:
parent
25079cb568
commit
7be4090ccd
1 changed files with 3 additions and 1 deletions
|
|
@ -40,9 +40,11 @@ class GraphStageDocSpec extends AkkaSpec {
|
|||
|
||||
"Demonstrate creation of GraphStage Source" in {
|
||||
//#custom-source-example
|
||||
import akka.stream.Attributes
|
||||
import akka.stream.Outlet
|
||||
import akka.stream.SourceShape
|
||||
import akka.stream.Graph
|
||||
import akka.stream.stage.GraphStage
|
||||
import akka.stream.stage.GraphStageLogic
|
||||
import akka.stream.stage.OutHandler
|
||||
|
||||
class NumbersSource extends GraphStage[SourceShape[Int]] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue