Packages

object Responder extends Serializable

This object contains utility methods to build responders.

Annotations
@deprecated
Deprecated

(Since version 2.11.0) this object will be removed

Source
Responder.scala
Version

1.0

Since

2.1

See also

class Responder

Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Responder
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def constant[A](x: A): Responder[A]

    Creates a responder that answer continuations with the constant a.

  2. def exec[A](x: ⇒ Unit): Boolean

    Executes x and returns true, useful as syntactic convenience in for comprehensions.

  3. def loop[A](r: Responder[Unit]): Responder[Nothing]
  4. def loopWhile[A](cond: ⇒ Boolean)(r: Responder[Unit]): Responder[Unit]
  5. def run[A](r: Responder[A]): Option[A]

    Runs a responder, returning an optional result.