Nanoev.Impltype 'st ops = {clear : 'st -> unit;wakeup_from_outside : 'st -> unit;close : 'st -> Unix.file_descr -> unit;max_fds : 'st -> int;on_readable : 'a 'b. 'st ->
Unix.file_descr ->
'a ->
'b ->
(closed:bool -> 'a -> 'b -> unit) ->
unit;on_writable : 'a 'b. 'st ->
Unix.file_descr ->
'a ->
'b ->
(closed:bool -> 'a -> 'b -> unit) ->
unit;run_after_s : 'a 'b. 'st -> float -> 'a -> 'b -> ('a -> 'b -> unit) -> unit;step : 'st -> unit;}A nanoev event loop provides a set of operations on a hidden state 'st.