Skip to content

Commit

Permalink
[nop] IServerChan interface docstrings: loosen return value type
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Sep 21, 2022
1 parent 9404ac7 commit 9a17dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taoensso/sente/interfaces.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
(sch-open? [sch] "Returns true iff the channel is currently open.")
(sch-close! [sch]
"If the channel is open when called: closes the channel and returns true.
Otherwise noops and returns false.")
Otherwise noops and returns falsey.")
(sch-send! [sch websocket? msg]
"If the channel is open when called: sends a message over channel and
returns true. Otherwise noops and returns false."))
returns true. Otherwise noops and returns falsey."))

(defprotocol IServerChanAdapter ; sch-adapter
;; Wraps a web server's own ring-request->ring-response interface to
Expand Down

0 comments on commit 9a17dbf

Please sign in to comment.