package babel
Module Caller.Rpc_exnSource
High level functions for working with callers in the style of Async.Rpc.Rpc.dispatch_exn.
Source
val dispatch_multi :
?metadata:Async_rpc_kernel.Rpc_metadata.t ->
('q, 'r) dispatch t ->
Async_rpc_kernel.Versioned_rpc.Connection_with_menu.t ->
('q, 'r) dispatchDetermine which supported dispatch strategy to use and invoke the chosen rpcs.
Create a new caller supporting a single rpc.
Source
val add :
('q, 'r) dispatch t ->
rpc:('q, 'r) Async_rpc_kernel.Rpc.Rpc.t ->
('q, 'r) dispatch tAdd support for dispatching another rpc. dispatch_multi will prefer this rpc over the ones the caller already supports.
A specialization of map for the query type of a protocol.