Fork me on GitHub
#core-async
<
2021-11-04
>
didibus03:11:01

Should have looked at the implementation from the get go :man-facepalming:

(defn offer!
  "Puts a val into port if it's possible to do so immediately.
   nil values are not allowed. Never blocks. Returns true if offer succeeds."
  [port val]
  (let [ret (impl/put! port val (fn-handler nop false))]
    (when ret @ret)))