Sel.OnEvents one can wait for (read data, pull from queues, ...)
name for debug printingpriority lower integers correspond to high priorities (as in Unix nice), default is 0type 'a res = ('a, exn) resultval line :
?priority:int ->
?name:string ->
Unix.file_descr ->
(string res -> 'a) ->
'a Event.ta line, terminated by '\n'
val bytes :
?priority:int ->
?name:string ->
Unix.file_descr ->
int ->
(Bytes.t res -> 'a) ->
'a Event.tbytes
val death_of :
?priority:int ->
?name:string ->
pid:int ->
(Unix.process_status -> 'a) ->
'a Event.ttermination of a process
val ocaml_value :
?priority:int ->
?name:string ->
Unix.file_descr ->
('b res -> 'a) ->
'a Event.tany value (not type safe, uses Marshall)
val httpcle :
?priority:int ->
?name:string ->
Unix.file_descr ->
(Bytes.t res -> 'a) ->
'a Event.tHTTP Content Length encoded data