sunng87 / diehard

Clojure resilience library for flexible retry, circuit breaker and rate limiter
Eclipse Public License 2.0
330 stars 27 forks source link

`deflistener` does not exist #22

Closed gws closed 5 years ago

gws commented 5 years ago

Hello @sunng87, and thank you for your effort on this library!

deflistener is documented but I can't find it in diehard.core.

Steps to reproduce:

(ns user
  (:require [diehard.core :refer [deflistener]))

;; ...
;; deflistener does not exist

I could be doing something very wrong, but I can't find reference to deflistener in the diehard.core tests either, so it's possible it got lost in the shuffle in the move to 0.8.0, based on my very brief look at the commit history.

gws commented 5 years ago

Sorry, I see now that this a documentation bug. The documentation hasn't been updated since 0.8.0, and that threw me off.

sunng87 commented 5 years ago

Seems github page is out of sync. I suggest to use cljdoc . I will update README of diehard for that.