com.qifun.statelessFuture.Future

FromResponder

final class FromResponder[AwaitResult] extends Stateless[AwaitResult]

Forwards all Future.Stateless API to the underlying scala.Responder.

Linear Supertypes
Awaitable.Stateless[AwaitResult, Unit], Awaitable[AwaitResult, Unit], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FromResponder
  2. Stateless
  3. Awaitable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FromResponder(underlying: Responder[AwaitResult])

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. final def await: AwaitResult

    Suspends this Awaitable until the asynchronous operation being completed, and then returns the result of the asynchronous operation.

    Suspends this Awaitable until the asynchronous operation being completed, and then returns the result of the asynchronous operation.

    Definition Classes
    Awaitable
    Annotations
    @compileTimeOnly( ... )
    Note

    This method must be in a Future.apply block or Awaitable.apply block.

    ,

    The code after await and the code before await may be evaluated in different threads.

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def flatMap[ConvertedAwaitResult](converter: (AwaitResult) ⇒ Awaitable[ConvertedAwaitResult, Unit]): Awaitable.Stateless[ConvertedAwaitResult, Unit]

    Returns a new Awaitable.Stateless composed of this Awaitable and the converter.

    Returns a new Awaitable.Stateless composed of this Awaitable and the converter. The new Awaitable.Stateless will pass the original result to convert when the original asynchronous operation being completed, or pass the exception to catcher when the original asynchronous operation being failed.

    Definition Classes
    Awaitable
  11. final def foreach(handler: (AwaitResult) ⇒ Unit)(implicit catcher: Catcher[Unit]): Unit

    Asks this Awaitable to pass result to handler when the asynchronous operation being completed, or to pass the exception to catcher when the asynchronous operation being failed, and starts the asynchronous operation if this Awaitable is an Awaitable.Stateless.

    Asks this Awaitable to pass result to handler when the asynchronous operation being completed, or to pass the exception to catcher when the asynchronous operation being failed, and starts the asynchronous operation if this Awaitable is an Awaitable.Stateless.

    Definition Classes
    Awaitable
  12. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  15. final def map[ConvertedAwaitResult](converter: (AwaitResult) ⇒ ConvertedAwaitResult): Awaitable.Stateless[ConvertedAwaitResult, Unit]

    Returns a new Awaitable.Stateless composed of this Awaitable and the converter.

    Returns a new Awaitable.Stateless composed of this Awaitable and the converter. The new Awaitable.Stateless will pass the original result to convert when the original asynchronous operation being completed, or pass the exception to catcher when the original asynchronous operation being failed.

    Definition Classes
    Awaitable
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def onComplete(body: (AwaitResult) ⇒ TailRec[Unit])(implicit catcher: Catcher[TailRec[Unit]]): TailRec[Unit]

    Like foreach, except this method supports tail-call optimization.

    Like foreach, except this method supports tail-call optimization.

    Definition Classes
    FromResponderAwaitable
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def withFilter(condition: (AwaitResult) ⇒ Boolean): Awaitable.Stateless[AwaitResult, Unit]

    Returns a new Awaitable.Stateless composed of this Awaitable and the condition.

    Returns a new Awaitable.Stateless composed of this Awaitable and the condition. The new Awaitable.Stateless will pass the original result to condition when the original asynchronous operation being completed, or pass the exception to catcher when the original asynchronous operation being failed.

    Definition Classes
    Awaitable
    Exceptions thrown
    java.util.NoSuchElementException

    Passes to catcher if the condition returns false.

Inherited from Awaitable.Stateless[AwaitResult, Unit]

Inherited from Awaitable[AwaitResult, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped