package opium_kernel

  1. Overview
  2. Docs

A service is simply a function that returns its result asynchronously

A service is simply a function that returns its result asynchronously

type ('req, 'rep) t = 'req -> 'rep Lwt.t
include Ppx_sexp_conv_lib.Sexpable.S2 with type ('req, 'rep) t := ('req, 'rep) t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> Sexplib0.Sexp.t -> ('a, 'b) t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('a, 'b) t -> Sexplib0.Sexp.t
val id : ('a, 'a) t
val const : 'rep -> (_, 'rep) t
OCaml

Innovation. Community. Security.