package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.6.0.tbz
sha256=35e8c7341f8eb1fa39fb0f0e0701a7ed90b9a0bb89ccf84b7ed997cd258cbec3
sha512=c96a7a3ca845ec193e9edc4a74804a22d6e37efc852b54575011879bd2105e0df021408632219f542ca3ad85b36b5c8b72f2b417204d154d5f0dd0839535afa5

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_with_backtrace.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_with_backtrace.t | `Canceled ]) Stdune.Result.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 wait_for_process : t -> Stdune.Pid.t -> Unix.process_status Fiber.t
Sourceval abort : t -> unit
OCaml

Innovation. Community. Security.