Liking cljdoc? Tell your friends :D

athrun.core


createclj

(create {:keys [name scheduled-tasks]})
source

schedule-taskclj

(schedule-task executor
               {:keys [name handler delay-seconds interval-seconds start-at]})

Takes a scheduled task, map defined by

  • hnadler - a function
  • delay-sconds - run the handler after a delay
  • interval-seconds - run handler on a interval if delay-only passed: handler runs once if interval-only passed: handler runs immediatedly on a schedule if both delay+interval passed: handler runs with a delay, then fixed schedule
Takes a scheduled task, map defined by
- hnadler - a function
- delay-sconds - run the handler after a delay
- interval-seconds - run handler on a interval
if delay-only passed: handler runs once
if interval-only passed: handler runs immediatedly on a schedule
if both delay+interval passed: handler runs with a delay, then fixed schedule
sourceraw docstring

Schedulerclj

source

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

× close