package dune-rpc

  1. Overview
  2. Docs
Communicate with dune using rpc

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.18.2.tbz
sha256=56be509ffc3c5ba652113d9e6b43edb04a691f1e1f6cbba17b9d243b1239a7af
sha512=ee04a0c4ab946817018c78cd9b19c8d3082ee3b1cef78c699fff4ea37fd79543823a9751d0b945d2fd1783396ceded045cbec986a85f7a8f7bac93e04650fff3

doc/dune-rpc.private/Dune_rpc_private/Versioned/Make/Handler/index.html

Module Make.HandlerSource

Sourcetype 'state t
Sourceval handle_request : 'state t -> 'state -> Request.t -> Response.t Fiber.t
Sourceval handle_notification : 'state t -> 'state -> Call.t -> (unit, Response.Error.t) Stdune.result Fiber.t
Sourceval prepare_request : 'a t -> ('req, 'resp) Decl.Request.witness -> (('req, 'resp) Staged.request, Version_error.t) Stdune.result
Sourceval prepare_notification : 'a t -> 'payload Decl.Notification.witness -> ('payload Staged.notification, Version_error.t) Stdune.result
OCaml

Innovation. Community. Security.