Parameter Make_wrapped.1-R
include Resource_cache__.Resource_intf.S
module Key : sig ... endmodule Common_args : Core_kernel.Tval open_ : Key.t -> Common_args.t -> t Async_kernel.Deferred.Or_error.tval close : t -> unit Async_kernel.Deferred.tval close_finished : t -> unit Async_kernel.Deferred.tWhen
close_finishedis determined, the resource will not be reused by a new job. If no job is currently using this resource, the resource will be dropped from the cache immediately. If there is a currently running job with this resource, the resource will be dropped from the cache once that job finishes.
val has_close_started : t -> boolhas_close_started tshould returntrueiffclose thas been called, even ifclose_finishedhas not been determined.