Skip to content

Commit 6953d2d

Browse files
committed
Add :on-load-1 launcher option
1 parent 392360f commit 6953d2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/portal/runtime/rpc.cljc

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
(when-let [f (get-in session [:options :on-load])]
1313
(try
1414
(f)
15+
(catch #?(:cljs :default :default Exception) e
16+
(tap> e))))
17+
(when-let [f (get-in session [:options :on-load-1])]
18+
(try
19+
(f (c/make-atom (:session-id session)))
1520
(catch #?(:cljs :default :default Exception) e
1621
(tap> e)))))
1722

0 commit comments

Comments
 (0)