package picos_std
Sample libraries for Picos
Install
Dune Dependency
Authors
Maintainers
Sources
picos-0.6.0.tbz
sha256=3f5a08199cf65c2dae2f7d68f3877178f1da8eabf5376e15114e5a8958087dfa
sha512=ad24910c47ce614268c4268874bb918da7f8b5f03b3ad706bbf30323635262e94ddab6be24eaebbca706bfa82c0a517d4272b396459e020c185942125c9bdb7b
doc/picos_std.awaitable/Picos_std_awaitable/Awaitable/Awaiter/index.html
Module Awaitable.Awaiter
Source
Low level interface for more flexible waiting.
An erased type alias for Awaitable.t
.
add awaitable trigger
creates a single use awaiter, adds it to the FIFO associated with the awaitable, and returns the awaiter.
remove awaiter
marks the awaiter as having been signaled and removes it from the FIFO associated with the awaitable.
ℹ️ If the associated trigger is used with only one awaiter and the Trigger.awaitawait
on the trigger returns None
, there is no need to explicitly remove the awaiter, because it has already been removed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>