package gen_server

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('s, 'e) ret = ('s, 'e) Response.t Async.Std.Deferred.t
type !'he error =
  1. | Normal
  2. | Exn of exn
  3. | Error of 'he
type ('m, !'i, 's, 'ie) init = 'm t -> 'i -> ('s, 'ie) Async.Std.Deferred.Result.t
type (!'m, !'s, 'he) handle_call = 'm t -> 's -> 'm -> ('s, 'he) ret
type (!'he, !'s) terminate = 'he error -> 's -> unit Async.Std.Deferred.t
type (!'i, !'s, !'m, !'ie, !'he) t = {
  1. init : ('m, 'i, 's, 'ie) init;
  2. handle_call : ('m, 's, 'he) handle_call;
  3. terminate : ('he, 's) terminate;
}
OCaml

Innovation. Community. Security.