Skip to main content

set-break-handler!

function

clojure.repl/set-break-handler!

Available in:BBCLJ
(set-break-handler! [] [f])
Register INT signal handler. After calling this, Ctrl-C will cause the given function f to be called with a single argument, the signal. Uses thread-stopper if no function given.

No examples yet. Be the first to add one!