Async

de.rmgk.delay$.Async
class Async[-Ctx, +A](val handleInCtx: Ctx => Callback[A] => Unit)

A description of a computation that returns an A at some later point in time. This could be seen as a (A => Unit) => Unit but with error handling and an additional context to store some information threaded through the asynchronous execution. You probably do not want to execute this directly

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Sync[Ctx, A]

Members list

Value members

Concrete methods

def bind: A

Access the value inside an Async block.

Access the value inside an Async block.

Attributes

Concrete fields

val handleInCtx: Ctx => Callback[A] => Unit