Skip to content

Commit

Permalink
Merge pull request #66 from realgenekim/proposed-doc-change
Browse files Browse the repository at this point in the history
Proposed doc change to show with-timeout using :interrupt?
  • Loading branch information
sunng87 authored Feb 16, 2024
2 parents 379424f + 173616b commit 4fd49cb
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 4fd49cb

Please sign in to comment.