package sel
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Simple Event Library
Install
dune-project
Dependency
Authors
Maintainers
Sources
sel-0.10.0.tbz
sha256=9151431abaec30aeb93a4f5618587516023f9945ade84555d6e96cc517616cda
sha512=4d2401609602da9f08cfdab75ae4bc97205e44b7284ef979f3a7ba9acf9d378ada40fe6fd4f4a4a09457ea43cd3aa7a33eea601cf9fa914b4a99a3a52989dadd
doc/sel.core/Sel_core/Promise/index.html
Module Sel_core.Promise
Simple promise library for synchronization. There is no critical section support: if two threads run if not (is_resolved p) then fulfill r the behavior is undefined. Use only in a 1 producer 1 consumer scenario.
val pp_state :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a state ->
unitval pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unitval is_resolved : 'a t -> boolis_resolved p is true if fulfill or reject was called
val fulfill : 'a handler -> 'a -> unitfulfill r v fulfills the promise with v.
val reject : 'a handler -> exn -> unitreject r e rejects the promise p with e.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>