= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
ON THIS PAGE
package datakit-ci
-
datakit_ci
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
Signature
val create : logs:Live_log.manager -> B.t -> t
create ~logs b
is a fresh cache that maps keys of type B.Key.t
to values of type B.value
.
lookup t conn ~rebuild ctx key
returns the cached value of key
, or uses B.generate ctx key
to start the process of calculating the value if this is the first time key
has been requested. If rebuild
is true
then any complete cached result is ignored (we mark the result branch as needing a rebuild and build again anyway).
ON THIS PAGE