(safe-fns options)
Wraps all functions in options
such that they will not throw exceptions.
If a function (for example draw
) throws an exception, the exception is
caught, printed to stdout
and execution of the program is paused for
1 sec. The sketch will not be aborted, it will continue to run,
making it possible to fix the function and reload it on the fly.
Wraps all functions in `options` such that they will not throw exceptions. If a function (for example `draw`) throws an exception, the exception is caught, printed to `stdout` and execution of the program is paused for 1 sec. The sketch will not be aborted, it will continue to run, making it possible to fix the function and reload it on the fly.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close