mirror of
https://github.com/penpot/penpot.git
synced 2026-03-13 05:46:08 +00:00
Use subject instead of bus on workers ns.
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
"Return a initialized webworker instance."
|
||||
[path]
|
||||
(let [wrk (js/Worker. path)
|
||||
bus (rx/bus)]
|
||||
bus (rx/subject)]
|
||||
(.addEventListener wrk "message"
|
||||
(fn [event]
|
||||
(let [data (.-data event)
|
||||
|
||||
Reference in New Issue
Block a user