change type hint in message
This commit is contained in:
parent
787897402b
commit
7485a60472
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
(defn message
|
(defn message
|
||||||
"Creates a message with the specified payload.
|
"Creates a message with the specified payload.
|
||||||
payload : bytes for the message payload. e.g. (.getBytes \"hello, world\")"
|
payload : bytes for the message payload. e.g. (.getBytes \"hello, world\")"
|
||||||
[^:bytes payload]
|
[#^bytes payload]
|
||||||
(Message. payload))
|
(Message. payload))
|
||||||
|
|
||||||
(defn send-messages
|
(defn send-messages
|
||||||
|
|
Loading…
Reference in a new issue