···97 Therefore, care is needed here. This is typically used to send a wake-up event to some non-Eio library. *)
9899val cancel : request -> bool
100-(** [cancel request] tries to cancel a request created with {!register_unsafe}.
101102 It returns [true] if the request was cancelled (the callback will never be called),
103 or [false] if the request was already complete (the callback has already been called). *)
···97 Therefore, care is needed here. This is typically used to send a wake-up event to some non-Eio library. *)
9899val cancel : request -> bool
100+(** [cancel request] tries to cancel a request created with {!register_immediate}.
101102 It returns [true] if the request was cancelled (the callback will never be called),
103 or [false] if the request was already complete (the callback has already been called). *)
+1-1
lib_eio/core/eio__core.mli
···382383 val get : 'a key -> 'a option
384 (** [get key] reads [key] from the map of fiber local variables, returning its
385- value or {!None} if it has not been bound. *)
386387 val with_binding : 'a key -> 'a -> (unit -> 'b) -> 'b
388 (** [with_binding key value fn] runs [fn] with [key] bound to the provided
···382383 val get : 'a key -> 'a option
384 (** [get key] reads [key] from the map of fiber local variables, returning its
385+ value or [None] if it has not been bound. *)
386387 val with_binding : 'a key -> 'a -> (unit -> 'b) -> 'b
388 (** [with_binding key value fn] runs [fn] with [key] bound to the provided
+1-1
lib_eio/file.mli
···29 (** Kind of file from st_mode. **)
3031 val pp_kind : kind Fmt.t
32- (** Pretty printer for {! kind}. *)
3334 type t = {
35 dev : Int64.t; (** Device containing the filesystem where the file resides. *)
···29 (** Kind of file from st_mode. **)
3031 val pp_kind : kind Fmt.t
32+ (** Pretty printer for {!type-kind}. *)
3334 type t = {
35 dev : Int64.t; (** Device containing the filesystem where the file resides. *)
+1-1
lib_eio/flow.mli
···127 val copy : t -> src:_ source -> unit
128 (** [copy t ~src] allows for optimising copy operations.
129130- If you have no optimisations, you can use {!simple_copy} to implement this using {!single_write}. *)
131 end
132133 module type SHUTDOWN = sig
···127 val copy : t -> src:_ source -> unit
128 (** [copy t ~src] allows for optimising copy operations.
129130+ If you have no optimisations, you can use {!Eio.Flow.Pi.simple_copy} to implement this using {!single_write}. *)
131 end
132133 module type SHUTDOWN = sig
+1-1
lib_eio/net.mli
···7172 (** {2 Interoperability}
7374- To convert to or from OCaml Unix addresses, use {!Eio_unix.Ipaddr}.
7576 To interoperate with the {{:https://opam.ocaml.org/packages/ipaddr/} ipaddr} library:
77 - [Ipaddr.to_octets ipaddr_ip |> Eio.Net.Ipaddr.of_raw]
···7172 (** {2 Interoperability}
7374+ To convert to or from OCaml Unix addresses, use {!Eio_unix.Net.Ipaddr}.
7576 To interoperate with the {{:https://opam.ocaml.org/packages/ipaddr/} ipaddr} library:
77 - [Ipaddr.to_octets ipaddr_ip |> Eio.Net.Ipaddr.of_raw]
···61(** [spawn_unix ~sw mgr ~fds args] spawns a child process running the command [args].
6263 The arguments are as for {!Eio.Process.spawn},
64- except that it takes a list of FD mappings for {!Fork_action.inherit_fds}
65 directly, rather than just flows for the standard streams. *)
6667val sigchld : Eio.Condition.t
···61(** [spawn_unix ~sw mgr ~fds args] spawns a child process running the command [args].
6263 The arguments are as for {!Eio.Process.spawn},
64+ except that it takes a list of FD mappings for {!Private.Fork_action.inherit_fds}
65 directly, rather than just flows for the standard streams. *)
6667val sigchld : Eio.Condition.t
+1-1
lib_eio_linux/low_level.mli
···109110 @return The number of bytes copied.
111 @raise End_of_file [src] is at the end of the file.
112- @raise Unix.Unix_error(EINVAL, "splice", _) if splice is not supported for these FDs. *)
113114val connect : fd -> Unix.sockaddr -> unit
115(** [connect fd addr] attempts to connect socket [fd] to [addr]. *)
···109110 @return The number of bytes copied.
111 @raise End_of_file [src] is at the end of the file.
112+ @raise Unix.Unix_error with args [(EINVAL, "splice", _)] if splice is not supported for these FDs. *)
113114val connect : fd -> Unix.sockaddr -> unit
115(** [connect fd addr] attempts to connect socket [fd] to [addr]. *)