Up
Module
Durable
=
Durable
Signature
type
'a t
val
create : to_create:(unit -> 'a
Async.Std.Deferred.Or_error.t
) -> is_broken:('a -> bool) -> ?to_rebuild:('a -> 'a
Async.Std.Deferred.Or_error.t
) -> unit -> 'a
t
val
create_or_fail : to_create:(unit -> 'a
Async.Std.Deferred.Or_error.t
) -> is_broken:('a -> bool) -> ?to_rebuild:('a -> 'a
Async.Std.Deferred.Or_error.t
) -> unit -> 'a
t
Core.Std.Or_error.t
Async.Std.Deferred.t
val
with_ : 'a
t
-> f:('a -> 'b
Async.Std.Deferred.Or_error.t
) -> 'b
Async.Std.Deferred.Or_error.t