mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 08:06:11 +02:00
♻️ Refactor persistence layer
This commit is contained in:
parent
d679001955
commit
6436ef334b
62 changed files with 1030 additions and 1070 deletions
|
@ -30,7 +30,7 @@
|
|||
event occurs, and then call the function with the final state at
|
||||
this point."
|
||||
[state done completed-cb]
|
||||
(let [store (ptk/store {:state state :on-error on-error})
|
||||
(let [store (ptk/store {:state state :on-error on-error})
|
||||
stream (ptk/input-stream store)
|
||||
stream (->> stream
|
||||
(rx/take-until (rx/filter #(= :the/end %) stream))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue