DeferredResponse

Defers application of the intent's response function
to a Deferral mechanism. This allows the intent to inspect
the request and potentially return Pass on the worker thread,
only deferring if it is to produce a response. The Defer
object should be used to ensure that blocking operations
are not performed in the evaluation of the intent function.
class Object
trait Matchable
class Any

Value members

Methods

def executeIntent(thunk: => Unit): Unit
def executeResponse(thunk: => Unit): Unit