package nproc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('serv_request, 'serv_response, 'env) t
val create : ?init:(worker_info -> unit) -> int -> ('serv_request -> 'serv_response Lwt.t) -> 'env -> ('serv_request, 'serv_response, 'env) t * unit Lwt.t
val close : ('serv_request, 'serv_response, 'env) t -> unit Lwt.t
val terminate : ('serv_request, 'serv_response, 'env) t -> unit
val submit : ('serv_request, 'serv_response, 'env) t -> f:(('serv_request -> 'serv_response) -> 'env -> 'a -> 'b) -> 'a -> 'b option Lwt.t
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
OCaml

Innovation. Community. Security.