Module Async_extra__.Persistent_singleton.Make

Parameters

Z : Arg

Signature

type persistent_singleton = Z.t
val load : string ‑> default:persistent_singleton ‑> persistent_singleton Core.Or_error.t Async_extra__.Import.Deferred.t
val load' : string ‑> default:persistent_singleton ‑> [ `Ok of persistent_singleton | `Can_not_load_due_to_unclean_shutdown | `Can_not_determine_whether_file_exists ] Async_extra__.Import.Deferred.t
val load_exn : string ‑> default:persistent_singleton ‑> persistent_singleton Async_extra__.Import.Deferred.t
val save : string ‑> value:persistent_singleton ‑> unit Async_extra__.Import.Deferred.t