package babel

  1. Overview
  2. Docs

Module Callee.One_waySource

High level functions for working with callees in the style of Async.Rpc.One_way.implement.

type 'msg implementation := 'msg -> unit

Create a callee which can implement a given rpc.

Extend a callee to be able to implement a given rpc.

Sourceval map_msg : 'msg1 implementation t -> f:('msg1 -> 'msg2) -> 'msg2 implementation t

Map over the query type of a callee.