sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
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).