Interface SinkQueue<T>

  • All Known Subinterfaces:
    SinkQueueWithCancel<T>

    public interface SinkQueue<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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      scala.concurrent.Future<scala.Option<T>> pull()
      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 Detail

      • pull

        scala.concurrent.Future<scala.Option<T>> pull()
        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.
        Returns:
        (undocumented)