org.apache.pekko.stream.scaladsl.SinkQueueWithCancel
See theSinkQueueWithCancel companion object
Attributes
-
Companion
-
object
-
Source
-
Queue.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Cancels the stream. This method returns right away without waiting for actual finalizing the stream.
Cancels the stream. This method returns right away without waiting for actual finalizing the stream.
Attributes
-
Source
-
Queue.scala
Pulls elements from the stream and returns a Future that:
Pulls elements from the stream and returns a Future that:
- fails if the stream is failed
- completes with None in case the stream is completed
- completes with
Some(element) in case the next element is available from stream.
Attributes
-
Inherited from:
-
SinkQueue
-
Source
-
Queue.scala