package async_kernel
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=01ced973dbc70535f692f38bed524ae82dba17e26e58791b2fbf0d647b160d2e
doc/async_kernel/Async_kernel/Synchronous_time_source/Event/Option/index.html
Module Event.Option
Source
type value := t
Constructors analogous to None
and Some
. If not (some_is_representable x)
then some x
may raise or return none
.
value (some x) ~default = x
and value none ~default = default
.
value_exn (some x) = x
. value_exn none
raises. Unlike Option.value_exn
, there is no ?message
argument, so that calls to value_exn
that do not raise also do not have to allocate.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>