Skip to content

Commit

Permalink
proposed doc change: show :interrupt? on README.md. (I didn't know ab…
Browse files Browse the repository at this point in the history
…out this flag, and spent an hour trying to figure out why timeouts weren't occurring. I discovered this while perusing the test suites.)
  • Loading branch information
Gene Kim committed Feb 15, 2024
1 parent 9be2e64 commit 173616b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ Timeouts allow you to fail an execution with `TimeoutExceededException` if it ta
```clojure
(require '[diehard.core :as dh])

(dh/with-timeout {:timeout-ms 5000}
(dh/with-timeout {:timeout-ms 5000
:interrupt? true}
(fly-me-to-the-moon))
```

Expand Down

0 comments on commit 173616b

Please sign in to comment.