package picos
Pico scheduler framework
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.1.0.tbz
sha256=0f2dcc67ddd127c68f388f2c36a8725a15723e6aeba7d1ddfcf4e016b54a4674
sha512=bee2a99458a451be285e2f13cc3a9deda8eed4e118bcdfc51c256d2da5bae92eec3386c318fe42dcf451421543b519dc064967158b3f417c9b7b44ce97c5fb75
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)"
>