Explorar el Código

chore: remove unused async-chan

Tienson Qin hace 4 años
padre
commit
6a9dd1904b
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      src/main/frontend/db.cljs

+ 0 - 4
src/main/frontend/db.cljs

@@ -36,9 +36,6 @@
 ;; TODO: replace with LRUCache, only keep the latest 20 or 50 items?
 (defonce query-state (atom {}))
 
-; FIXME: Unused?
-(defonce async-chan (atom nil))
-
 ;; (defn clear-store!
 ;;   []
 ;;   (p/let [_ (.clear localforage)
@@ -2291,7 +2288,6 @@
       (let [f (async/<! chan)]
         (f))
       (recur))
-    (reset! async-chan chan) ; FIXME: Unused?
     chan))
 
 (defonce blocks-count-cache (atom nil))