package picos
Pico scheduler framework
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.3.0.tbz
sha256=544804c0bde4b29764f82f04e7defed7c06bc43e5a6ce3f7fdc326cb54a7f066
sha512=4c93427e477fb52374a554a8b9c4c92836a9b5899161275d1473269ab526a1f59177209140631ed763a55be375855dea12f076e18bf4124522414986c0e257be
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)"
>