Object/Class

com.twitter.concurrent

AsyncStream

Related Docs: class AsyncStream | package concurrent

Permalink

object AsyncStream

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncStream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class Ops[A] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Cons

    Permalink
  5. def apply[A](as: A*): AsyncStream[A]

    Permalink

    Var-arg constructor for AsyncStreams.

    Var-arg constructor for AsyncStreams.

    AsyncStream(1,2,3)

    Note: we can't annotate this with varargs because of https://issues.scala-lang.org/browse/SI-8743. This seems to be fixed in a more recent scala version so we will revisit this soon.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def empty[A]: AsyncStream[A]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exception[A](e: Throwable): AsyncStream[A]

    Permalink

    A failed AsyncStream

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flattens[A](as: AsyncStream[AsyncStream[A]]): AsyncStream[A]

    Permalink

    Java friendly AsyncStream.flatten.

  14. def fromFuture[A](f: Future[A]): AsyncStream[A]

    Permalink

    Transformation (or lift) from Future into AsyncStream.

  15. def fromOption[A](o: Option[A]): AsyncStream[A]

    Permalink

    Transformation (or lift) from Option into AsyncStream.

  16. def fromReader(r: Reader, chunkSize: Int = Int.MaxValue): AsyncStream[Buf]

    Permalink

    Transformation (or lift) from Reader into AsyncStream[Buf], where each Buf has size up to chunkSize.

  17. def fromSeq[A](seq: Seq[A]): AsyncStream[A]

    Permalink

    Transformation (or lift) from Seq into AsyncStream.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def merge[A](s: AsyncStream[A]*): AsyncStream[A]

    Permalink

    Combinator, merges multiple AsyncStreams into a single stream.

    Combinator, merges multiple AsyncStreams into a single stream. The resulting stream contains elements in FIFO order per input stream but order between streams is not guaranteed. The resulting stream is completed when all input streams are completed. The stream is failed when any input stream is failed

    Annotations
    @varargs()
  22. def mk[A](a: A, tail: ⇒ AsyncStream[A]): AsyncStream[A]

    Permalink

    Like Ops.+::.

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def of[A](a: A): AsyncStream[A]

    Permalink

    An AsyncStream with a single element.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped