package loop
Unbounded loops with continues and breaks
Install
Dune Dependency
Authors
Maintainers
Sources
loop-0.0.1.tbz
sha256=2b1ca83ae07257212f4dccd962a33d84a28fa33c792134bb1d2f8b65dff8b2ac
sha512=ae285fd979a47702108fbf30f2d257a7190c308c6ea71e707a9d7cad29d9ed42f469696ff140c75867648450b482b66238ae79b1b4ac051de12dd07685061a9d
doc/loop/Loop/index.html
Module Loop
Source
`loop fn` will loop the `fn` function infinitely.
If you want to break the loop, or skip an iteration, call `break ()` or `continue ()` within it.
`break ()` breaks out of a loop.
`continue ()` skips the rest of the current loop iteration and begins the next iteration.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>