package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jsonrpc-1.5.0.tbz
md5=2c19731536a4f62923554c1947c39211
sha512=9bc252e2564fe6c9017b5ee1b2c4ddebf73c4be4b2a3d48f1d61b6ec1910a2cb9f4fa4952a7a6d89482c28ddbad8e0d9c34c206a1b2fe42bb2c3a7156aa953e9

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.