in scala
object Responder

`object` Responder
  `extends` java.lang.Object
  `with` scala.ScalaObject

  contains utility methods to build responders

see:
  class Responder
since:
  revision 6897 (will be 2.1.1)

Constructor Summary
| `def` this

Def Summary
| `def` constant [ a ] ( x : a ) : scala.Responder[a] creates a responder that answer continuations with the constant a
| `def` exec [ a ] ( x : => scala.Unit ) : scala.Boolean executes x and returns true, useful as syntactic convenience in for comprehensions
| `def` run [ a ] ( r : scala.Responder[a] ) : scala.Option[a] runs a responder, returning an optional result

Constructor Detail

`def` this

Def Detail

`def` constant [ a ]( x : a ) : scala.Responder[a]

  creates a responder that answer continuations with the constant a

`def` exec [ a ]( x : => scala.Unit ) : scala.Boolean

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

`def` run [ a ]( r : scala.Responder[a] ) : scala.Option[a]

  runs a responder, returning an optional result