package duppy

  1. Overview
  2. Docs
type (!'a, !'b) task = {
  1. priority : 'a;
  2. events : 'b list;
  3. handler : 'b list -> ('a, 'b) task list;
}
type event = [
  1. | `Delay of float
  2. | `Exception of Unix.file_descr
  3. | `Read of Unix.file_descr
  4. | `Write of Unix.file_descr
]
val add : 'a scheduler -> ('a, [< event ]) task -> unit
OCaml

Innovation. Community. Security.