hyperphor.multitool.background

call-in-background

(call-in-background thunk)

in-background

(in-background thunk success-cont fail-cont error-logger)

Run thunk in the background. Call success-cont with the value and log or fail-cont with the exception and log. error-logger is usually log/error, but I’m trying to hold down dependencies

not-in-background

(not-in-background thunk success-cont fail-cont error-logger)

API As above but done in-thread. For debugging

thread-pool