mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
✨ Add better way to delay a stream for library notification
This commit is contained in:
parent
77f906ae37
commit
713d6a31df
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user