Up
Module
Make
(
Z
:
Arg
) :
S
with
type
persistent_singleton
=
Z.t
Parameters
Z
:
Arg
Signature
type
persistent_singleton =
Z.t
val
load : string -> default:
persistent_singleton
->
persistent_singleton
Core.Std.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