Stdlib.Spacetime(3)

πŸ“¦ version 4.11.1, in centos-stream 9

🌸 NAME 🌸

okay so this is Stdlib.Spacetime from the OCaml library manual, bestie πŸ’–. The original NAME section literally says "no description" β€” that's not me being lazy, that's the whole description. No cap. πŸ’…


πŸŽ€ Module πŸŽ€

The module is Stdlib.Spacetime. That's the whole vibe here. 🫢


✨ Documentation ✨

πŸ¦‹ Module Spacetime

Module Spacetime
 : (module Stdlib__spacetime)

🌟 val enabled : bool

val enabled : bool

enabled is true if the compiler is configured with spacetime and false otherwise. That's it, that's the flag. ✨

πŸŽ€ module Series

module Series : sig end

It's giving empty signature: literally sig end. 🫢

πŸ¦‹ module Snapshot

module Snapshot : sig end

Same energy, another empty signature: sig end. πŸ’œ

πŸ’Œ save_event_for_automatic_snapshots

val save_event_for_automatic_snapshots : event_name:string -> unit

Like Spacetime.Series.save_event, but it writes to the automatic snapshot file. This function is a no-op if OCAML_SPACETIME_INTERVAL was not set. So if that env var isn't there, it just minds its own business. πŸ™ˆ


mwah πŸ’‹ this page was brought to you by OCamldoc, dated 2022-03-11, and it's the Stdlib.Spacetime(3) manual page. bye bestie, go profile something iconic 🫢✨

πŸ“¦ where this page comes from