Skip to content

Manage a clojure application's shutdown hooks.

License

Notifications You must be signed in to change notification settings

josefigueroa-nedap/shutdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shutdown

A tiny library to manage a clojure application's jvm shutdown hooks. Inspired by duct

Usage

(require '[shutdown.core :as shutdown])

;; To add a 0-argument function to be executed before your app's runtime shuts
;; down (normally):
(shutdown/add-hook! ::descriptive-name #(println "It's about to go down!"))

;; In case you later change your mind:
(shutdown/remove-hook ::descriptive-name)

License

Copyright © 2017 ben lamothe

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Manage a clojure application's shutdown hooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%