c

akka.stream.impl

SinkQueueAdapter

final class SinkQueueAdapter[T] extends SinkQueueWithCancel[T]

Source
Sinks.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SinkQueueAdapter
  2. SinkQueueWithCancel
  3. SinkQueue
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SinkQueueAdapter(delegate: SinkQueueWithCancel[T])

Value Members

  1. def cancel(): Unit

    Cancel the stream.

    Cancel the stream.

    Definition Classes
    SinkQueueAdapterSinkQueueWithCancel
  2. def pull(): CompletionStage[Optional[T]]

    Method pulls elements from stream and returns future that: - fails if stream is failed - completes with None in case if stream is completed - completes with Some(element) in case next element is available from stream.

    Method pulls elements from stream and returns future that: - fails if stream is failed - completes with None in case if stream is completed - completes with Some(element) in case next element is available from stream.

    Definition Classes
    SinkQueueAdapterSinkQueue