trait SinkQueueWithCancel[T] extends SinkQueue[T]
Ordering
- Alphabetic
- By Inheritance
Inherited
- SinkQueueWithCancel
- SinkQueue
- AnyRef
- Any
Implicitly
- by QueueOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def cancel(): Unit
Cancels the stream.
Cancels the stream. This method returns right away without waiting for actual finalizing the stream.
- abstract def pull(): [Option[T]]
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.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.- Definition Classes
- SinkQueue
Concrete Value Members
- def asJava: javadsl.SinkQueueWithCancel[T]
- Implicit
- This member is added by an implicit conversion from SinkQueueWithCancel[T] toQueueOps[T] performed by method QueueOps in akka.stream.scaladsl.SinkQueueWithCancel.
- Definition Classes
- QueueOps
- val queue: SinkQueueWithCancel[T]
- Implicit
- This member is added by an implicit conversion from SinkQueueWithCancel[T] toQueueOps[T] performed by method QueueOps in akka.stream.scaladsl.SinkQueueWithCancel.
- Definition Classes
- QueueOps
This trait adds cancel support to SinkQueue.