package rpclib-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Server generator similar to Idl.GenServer that uses Async.

Parameters

Signature

include Idl.RPC with type implementation = server_implementation and type 'a res = 'a -> unit and type ('a, 'b) comp = ('a, 'b) Result.result M.async
type implementation = server_implementation
val implement : Idl.Interface.description -> implementation
type !'a res = 'a -> unit
type (!'a, !'b) comp = ('a, 'b) Result.result M.async
type _ fn
val (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> 'b) fn
val returning : 'a Idl.Param.t -> 'b Idl.Error.t -> ('a, 'b) comp fn
val declare : string -> string list -> 'a fn -> 'a res
OCaml

Innovation. Community. Security.