package picos
Pico scheduler interface
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.6.0.tbz
sha256=3f5a08199cf65c2dae2f7d68f3877178f1da8eabf5376e15114e5a8958087dfa
sha512=ad24910c47ce614268c4268874bb918da7f8b5f03b3ad706bbf30323635262e94ddab6be24eaebbca706bfa82c0a517d4272b396459e020c185942125c9bdb7b
doc/picos.domain/Picos_domain/DLS/index.html
Module Picos_domain.DLS
Source
Domain-local storage for Picos.
ℹ️ On OCaml 4 there is always only a single domain.
Represents a key for storing values of type 'a
in storage associated with domains.
new_key compute
allocates a new key for associating values in storage associated with domains. The initial value for each domain is compute
d by calling the given function if the key
is read before it has been written. The compute
function might be called multiple times per domain, but only one result will be used.
get key
returns the value associated with the key
in the storage associated with the current domain.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>