Liking cljdoc? Tell your friends :D
Clojure only.

quil.middlewares.safe-fns


safe-fnsclj

(safe-fns options)

Wraps all functions in options such that they will not throw exceptions If function (for example 'draw') throws an exception - exception is caught and printed to stdout and execution of the program is paused for 1 sec. This way sketch will not be aborted but will continue to run, allowing to fix function and reload it on fly.

Wraps all functions in options such that they will not throw exceptions
If function (for example 'draw') throws an exception - exception is
caught and printed to stdout and execution of the program is paused for
1 sec. This way sketch will not be aborted but will continue to run,
allowing to fix function and reload it on fly.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close