package picos
Pico scheduler interface
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.5.0.tbz
sha256=862d61383e2df93a876bedcffb1fd1ddc0f96c50b0e9c07943a2aee1f0e182be
sha512=87805379017ef4a7f2c11b954625a3757a0f1431bb9ba59132202de278b3e41adbe0cdc20e3ab23b7c9a8c5a15faeb7ec79348e7d80f2b14274b00df0893b8c0
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)"
>