0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 07:16:07 -05:00

Add better way to delay a stream for library notification

This commit is contained in:
Andrey Antukh 2025-02-18 11:50:07 +01:00
parent 77f906ae37
commit 713d6a31df

View file

@ -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]