Skip to content

Commit

Permalink
Merge pull request #908 from smondet/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation suggestion for `auto_yield`
  • Loading branch information
smorimoto authored Dec 2, 2021
2 parents 8cf56b8 + d51dede commit a75488c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/lwt_unix.cppo.mli
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ val yield : unit -> unit Lwt.t [@@deprecated "Use Lwt.pause instead"]
(** [yield ()] is a promise in a pending state. It resumes itself as soon as
possible and resolves with value [()]. *)

val auto_yield : float -> (unit -> unit Lwt.t) [@@deprecated "Use Lwt.auto_pause instead"]
val auto_yield : float -> (unit -> unit Lwt.t) [@@deprecated "Use Lwt_unix.auto_pause instead"]

val auto_pause : float -> (unit -> unit Lwt.t)
(** [auto_pause timeout] returns a function [f], and [f ()] has the following
Expand Down

0 comments on commit a75488c

Please sign in to comment.