OnEv

class OnEv[T](event: Event[T])
class Object
trait Matchable
class Any

Value members

Concrete methods

final
def act[A](fun: T => A): FoldMatch[A]

Constructs a handling branch that handles the static event

Constructs a handling branch that handles the static event

Value Params
fun

handler for activations of event

final
def dyn[A](fun: DynamicTicket => T => A): FoldMatch[A]

Similar to act, but provides access to a dynamic ticket in fun

Similar to act, but provides access to a dynamic ticket in fun