hello, I don't understand how I should use the asynchronous requests in clj-rethinkdb
when I run my query, it returns a channel then what should I do with this channel? I expect the result of the query, not the channel
probably obvious, but I don't get it 😕
example code:
(defn plot [id]
(with-open [conn (r/connect :host url :port port :db db :async? true)]
(go
(<! (-> (r/table "plots")
(r/get id)
(r/run conn))))))
any idea?