Back

thread-stopper (clj)

(source)

function

(thread-stopper) (thread-stopper thread)
Returns a function that takes one arg and uses that as an exception message to stop the given thread. Defaults to the current thread

Examples