 
 (defmacro import-def
   "Import a single function or var:
-  ```clj
+  ```
   (import-def a b) => (def b a/b)
   ```"
   [from-ns def-name]


   This works for vars and functions, but not macros. Uses the same syntax as
   `potemkin.namespaces/import-vars`, namely:
   ```clj
   (import-vars
     [m.n.ns1 a b]
     [x.y.ns2 d e f])

     (get-endpoint endpoint service-key))))

(defn ^:export with-callback
  "A utility function for running a callback function when a channel receives
  data."
  [chan callback]
  (go-loop []
    (if-let [response (async/<! chan)]
