package babel

  1. Overview
  2. Docs
val return : Generic_rpc.t -> 'a -> 'a t

return rpc f gives a t where to_dispatch_fun returns Ok (fun _conn -> f) if rpc is in the menu. This may be used for more specialized uses of rpcs like Polling_state_rpc

OCaml

Innovation. Community. Security.