mirror of
https://github.com/penpot/penpot.git
synced 2026-02-25 22:04:14 +00:00
✨ Add better way to delay a stream for library notification
This commit is contained in:
@@ -190,8 +190,8 @@
|
||||
libraries)]
|
||||
|
||||
(when needs-check?
|
||||
(rx/concat (rx/timer 1000)
|
||||
(rx/of (dwl/notify-sync-file file-id))))))))
|
||||
(->> (rx/of (dwl/notify-sync-file file-id))
|
||||
(rx/delay 1000)))))))
|
||||
|
||||
(defn- fetch-libraries
|
||||
[file-id]
|
||||
|
||||
Reference in New Issue
Block a user