mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
enhancement: only run custom queries when not typing
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
:system/events (async/chan 100)
|
||||
:db/batch-txs (async/chan 100)
|
||||
:file/writes (async/chan 100)
|
||||
:reactive/custom-queries (async/chan 100)
|
||||
:notification/show? false
|
||||
:notification/content nil
|
||||
:repo/cloning? false
|
||||
@@ -1145,6 +1146,10 @@
|
||||
[]
|
||||
(:file/writes @state))
|
||||
|
||||
(defn get-reactive-custom-queries-chan
|
||||
[]
|
||||
(:reactive/custom-queries @state))
|
||||
|
||||
(defn get-write-chan-length
|
||||
[]
|
||||
(let [c (get-file-write-chan)]
|
||||
|
||||
Reference in New Issue
Block a user