trait SinkQueueWithCancel[T] extends SinkQueue[T]
Ordering
- Alphabetic
- By Inheritance
Inherited
- SinkQueueWithCancel
- SinkQueue
- AnyRef
- Any
Implicitly
- 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(): [Optional[T]]
Pulls elements from the stream and returns a CompletionStage that: - fails if the stream is failed - completes with Empty in case the stream is completed - completes with
element
in case the next element is available from the stream.Pulls elements from the stream and returns a CompletionStage that: - fails if the stream is failed - completes with Empty in case the stream is completed - completes with
element
in case the next element is available from the stream.- Definition Classes
- SinkQueue
This trait adds cancel support to SinkQueue.