package dune-rpc

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

Module V.BuilderSource

Sourcetype 'state t
Sourceval to_handler : 'state t -> session_version:('state -> int * int) -> menu:Menu.t -> 'state Handler.t
Sourceval create : unit -> 'state t
Sourceval registered_procedures : 'a t -> (Dune_rpc_private__.Types.Method.Name.t * int list) list
Sourceval declare_notification : 'state t -> 'payload Dune_rpc_private__.Types.Decl.Notification.t -> unit
Sourceval declare_request : 'state t -> ('req, 'resp) Dune_rpc_private__.Types.Decl.Request.t -> unit
Sourceval implement_notification : 'state t -> 'payload Dune_rpc_private__.Types.Decl.Notification.t -> ('state -> 'payload -> unit Fiber.t) -> unit
Sourceval implement_request : 'state t -> ('req, 'resp) Dune_rpc_private__.Types.Decl.Request.t -> ('state -> 'req -> 'resp Fiber.t) -> unit