A store composed of a single file on disk

type t

The type of the singleton store.

type value

The type of values stored in this singleton store.

val read : t -> value option Lwt.t

Reads the current value from the disk. Returns None if the file does not exist or if it is corrupted.

Write the value to disk.

val delete : t -> unit Lwt.t

Deletes the value from the disk.