JanetDocsPlaygroundI'm feeling luckyGitHub sign in

forever



    macro
    boot.janet on line 512, column 1

    (forever & body)

    Evaluate body forever in a loop, or until a break statement.


1 exampleSign in to add an example
Loading...
(forever
  (print (os/time))
  (ev/sleep 1))

# => epoch clocks, prints epoch timestamp every second
pepePlayground