package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.4.0.tbz
sha256=fd138e6c4fcff32c6d15eb66cc9391b7e1183717a6d1a47c688c7f6d320a159f
sha512=567a73b3c10bb59c5a4d4e8291d1aeefdfd34438a95313fba8a485638294ca5fb8034334719631243c304d3328c27afa90dfd564fdb1e7390507a06db3a4ad03

doc/lsp.fiber_unix/Fiber_unix/Scheduler/index.html

Module Fiber_unix.SchedulerSource

Sourcetype t
Sourceval create : unit -> t
Sourcetype run_error =
  1. | Never
  2. | Abort_requested
  3. | Exn of Stdune.Exn.t
Sourceval run_result : t -> 'a Fiber.t -> ('a, run_error) Stdune.Result.t
Sourceval run : t -> 'a Fiber.t -> 'a
Sourcetype thread
Sourcetype 'a task
Sourceval create_thread : t -> thread
Sourceval await : 'a task -> ('a, [ `Exn of Stdune.Exn.t | `Canceled ]) Stdune.Result.t Fiber.t
Sourceval await_no_cancel : 'a task -> 'a Stdune.Or_exn.t Fiber.t
Sourceval cancel_task : 'a task -> unit Fiber.t
Sourceval async : thread -> (unit -> 'a) -> ('a task, [ `Stopped ]) Stdune.Result.t
Sourceval async_exn : thread -> (unit -> 'a) -> 'a task
Sourceval stop : thread -> unit
Sourcetype timer
Sourceval create_timer : t -> delay:float -> timer
Sourceval set_delay : timer -> delay:float -> unit
Sourceval schedule : timer -> (unit -> 'a Fiber.t) -> ('a, [ `Cancelled ]) Stdune.Result.t Fiber.t
Sourceval cancel_timer : timer -> unit Fiber.t
Sourceval cancel_timers : t -> unit Fiber.t
Sourceval scheduler : unit -> t
Sourceval abort : t -> unit
OCaml

Innovation. Community. Security.