com.twitter.concurrent.Spool

Empty

object Empty extends Spool[Nothing]

Linear Supertypes
Spool[Nothing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Empty
  2. Spool
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++[B >: Nothing](that: Future[Spool[B]]): Future[Spool[B]]

    Concatenates two spools.

    Concatenates two spools.

    Definition Classes
    Spool
  5. def ++[B >: Nothing](that: Spool[B]): Spool[B]

    Concatenates two spools.

    Concatenates two spools.

    Definition Classes
    Spool
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def collect[B](f: PartialFunction[Nothing, B]): Future[Empty.type]

    The standard Scala collect, in order to implement map & filter.

    The standard Scala collect, in order to implement map & filter.

    It may seem unnatural to return a Future[…] here, but we cannot know whether the first element exists until we have applied its filter.

    Definition Classes
    EmptySpool
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def filter(f: (Nothing) ⇒ Boolean): Future[Spool[Nothing]]

    Definition Classes
    Spool
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def flatMap[B](f: (Nothing) ⇒ Future[Spool[B]]): Future[Spool[B]]

    Applies a function that generates a spool to each element in this spool, flattening the result into a single spool.

    Applies a function that generates a spool to each element in this spool, flattening the result into a single spool.

    Definition Classes
    Spool
  16. def foldLeft[B](z: B)(f: (B, Nothing) ⇒ B): Future[B]

    Definition Classes
    Spool
  17. def foreach[B](f: (Nothing) ⇒ B): Future[Unit]

    Apply {{f}} for each item in the spool, until the end.

    Apply {{f}} for each item in the spool, until the end. {{f}} is applied as the items become available.

    Definition Classes
    Spool
  18. def foreachElem[B](f: (Option[Nothing]) ⇒ B): Future[Unit]

    A version of {{foreach}} that wraps each element in an {{Option}}, terminating the stream (EOF) with {{None}}.

    A version of {{foreach}} that wraps each element in an {{Option}}, terminating the stream (EOF) with {{None}}.

    Definition Classes
    Spool
  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. def head: Nothing

    The first element of the spool.

    The first element of the spool. Invalid for empty spools.

    Definition Classes
    EmptySpool
  22. def isEmpty: Boolean

    Definition Classes
    EmptySpool
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def map[B](f: (Nothing) ⇒ B): Spool[B]

    Definition Classes
    Spool
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def reduceLeft[B >: Nothing](f: (B, Nothing) ⇒ B): Future[B]

    Definition Classes
    Spool
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def tail: Future[Nothing]

    The (deferred) tail of the spool.

    The (deferred) tail of the spool. Invalid for empty spools.

    Definition Classes
    EmptySpool
  31. def toSeq: Future[Seq[Nothing]]

    Fully buffer the spool to a {{Seq}}.

    Fully buffer the spool to a {{Seq}}. The returned future is satisfied when the entire result is ready.

    Definition Classes
    Spool
  32. def toString(): String

    Definition Classes
    Empty → AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Spool[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped