Module Nvim_lock.Permission_to_run

type t

Permission to communicate with Neovim. Implemented as an Mvar.t but only "view" permissions are exposed (no putting or taking).

val value_available : t -> unit Async.Deferred.t
val taken : t -> unit Async.Deferred.t
val peek : t -> [ `Ok | `Expired ] option