File: stdcompat__spacetime_s.mli.in

package info (click to toggle)
ocaml-stdcompat 14-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,152 kB
  • sloc: ml: 22,329; makefile: 211; sh: 120
file content (33 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module type S = sig
@BEGIN_FROM_4_04_0@
module Series = Spacetime.Series
@END_FROM_4_04_0@
@BEGIN_BEFORE_4_04_0@
module Series :
sig
  type t
  val create : path:string -> t
  val save_event : ?time:float -> t -> event_name:string -> unit
  val save_and_close : ?time:float -> t -> unit
end
@END_BEFORE_4_04_0@
(** @since 4.04.0: module Series = Spacetime.Series
 *)

@BEGIN_FROM_4_04_0@
module Snapshot = Spacetime.Snapshot
@END_FROM_4_04_0@
@BEGIN_BEFORE_4_04_0@
module Snapshot : sig val take : ?time:float -> Series.t -> unit end
@END_BEFORE_4_04_0@
(** @since 4.04.0: module Snapshot = Spacetime.Snapshot
 *)

val enabled : bool
(** @since 4.05.0: val enabled : bool *)

val save_event_for_automatic_snapshots : event_name:string -> unit
(** @since 4.04.0:
    val save_event_for_automatic_snapshots : event_name:string -> unit *)

end