package octez-libs
val sleep : Ptime.Span.t -> unit Lwt.t
sleep t
is an Lwt promise that resolves after t
time has elapsed. If t
is negative, sleep t
is already resolved.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>