package sel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Set of events being waited for

type 'a t

The set of events we can wait for

val empty : 'a t

the empty todo set

val is_empty : 'a t -> bool

check if the todo set is empty

val pp : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unit

pretty printer

val size : 'a t -> int

debugging

val add : 'a t -> 'a Event.t list -> 'a t

adds a list of events, the order (among events with the same priority) is preserved