All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
Nothing yet
0.0.5 - 2023-08-11
- Make library compatible with Clojure 1.11.0 and above
0.0.4 - 2021-02-23
at
has potential to produce an uncaught exception. It now throws a customex-info
which provides detailed information about the problem.
0.0.3 - 2020-12-16
- Tasks would reschedule if
stop
was called during execution.stop
still worked if called while tasks were waiting to run.
- Users can now provide a callback to the function returned from
at
This will run your callback with the args you provided toat
, instead of executingf
. - Users can now provide a callback function to
stop
. This is ran after the task is stopped and not rescheduled, and provides the callback with all the parameters which would have been supplied to the task on the next run. This is helpful for doing 'safe' cleanup, because you won't be mucking about with a currently running task.
restart
now callsstop
with the new callback arity
- Any of the new callbacks provided should satisfy the predicate
fn?
. - All of the old function arities still work as before.
0.0.2 - 2020-4-22
- Cron now accepts multi-digit exact matches
clear-schedule
function which does what you epect