Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val create :
?init:(worker_info -> unit) ->
int ->
('serv_request -> 'serv_response Lwt.t) ->
'env ->
('serv_request, 'serv_response, 'env) t * unit Lwt.t
val terminate : ('serv_request, 'serv_response, 'env) t -> unit
val iter_stream :
?granularity:int ->
?init:(worker_info -> unit) ->
nproc:int ->
serv:('serv_request -> 'serv_response Lwt.t) ->
env:'env ->
f:(('serv_request -> 'serv_response) -> 'env -> 'a -> 'b) ->
g:('b option -> unit) ->
'a Stream.t ->
unit