package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.3.0.tbz
sha256=598e27258e4749b6e2511e2c5efe00d16f0965806296e808d202cd614d655fba
sha512=febe80f8a88fac7683cafbd045dceee4869beda1f250b78a1d94d3ad19e746388d24869e805abcb2f33f93687508d65db19a38424c1059670915c050b4f6dbb9

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.