package poll

  1. Overview
  2. Docs

Source file empty_poll.ml

1
2
3
4
5
6
7
8
9
10
type t = [ `Empty ]
type Backend.t += Empty

let backend = Empty
let create () = failwith "No polling backend available"
let set _ _ _ = failwith "No polling backend available"
let wait _ _ = failwith "No polling backend available"
let clear _ = failwith "No polling backend available"
let iter_ready _ ~f:_ = failwith "No polling backend available"
let close _ = ()
OCaml

Innovation. Community. Security.