package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Deprecates functions that use wall-clock time, so that code must be explicit about what time source is used.

Idiomatic usage is:

open! Require_explicit_time_source 

or, in an import.ml:

include Require_explicit_time_source
include module type of struct include Async_kernel.Async_kernel_require_explicit_time_source end
  • deprecated [since 2016-02] Use [Time_source]
  • deprecated [since 2016-02] Use [Time_source]
val every : ?start:unit Async_kernel.Deferred.t -> ?stop:unit Async_kernel.Deferred.t -> ?continue_on_error:bool -> Core.Core_private.Time_ns_alternate_sexp.Span.t -> (unit -> unit) -> unit
  • deprecated [since 2016-02] Use [Time_source]
  • deprecated [since 2016-02] Use [Time_source]
module Scheduler : sig ... end
module Date : sig ... end
module Time : sig ... end
module Time_ns : sig ... end
OCaml

Innovation. Community. Security.