Added `get!` function
This commit is contained in:
parent
bd1f4cde76
commit
ae81b91f0c
|
@ -109,6 +109,9 @@
|
||||||
:or {qos 1 retain false}}]
|
:or {qos 1 retain false}}]
|
||||||
(send-message! client topic msg {:qos qos :retain retain}))
|
(send-message! client topic msg {:qos qos :retain retain}))
|
||||||
|
|
||||||
|
(defn get! [client topic & options]
|
||||||
|
(get-topic! client topic options))
|
||||||
|
|
||||||
(defn open-channel!
|
(defn open-channel!
|
||||||
[client topic & {:keys [buffer-size qos retain]
|
[client topic & {:keys [buffer-size qos retain]
|
||||||
:or {buffer-size 1
|
:or {buffer-size 1
|
||||||
|
|
Loading…
Reference in New Issue