Module Wd.Event

Events.

type 'a t

The type for events with payload of type 'a

val name : 'a t -> string

name ev is the name of the event. Can be used with Wd_session.subscribe.

val await : 'a t -> 'a

await ev waits for the next occurence of ev (which may never happen).