mirror of https://github.com/logseq/logseq
chore: remove unused async-chan
parent
82fe6e2108
commit
6a9dd1904b
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue