You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-21
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ Add the following dependency to your `project.clj`:<br>
24
24
25
25
### Usage
26
26
27
+
Pay attention mixing up error propagation functions of this library and clojure.core.async functions. clojure.core.async function do not propagate errors. E.g. using a core.async go-block within a error propagation go-block stack will break error propagation. So do not mix it up!
28
+
27
29
```clojure
28
30
(nsyour-project
29
31
#?(:clj
@@ -34,10 +36,16 @@ Add the following dependency to your `project.clj`:<br>
34
36
:cljs
35
37
(:require
36
38
[cljs.core.async :refer [timeout]]
37
-
[jtk-dvlp.async :as a])))
39
+
[jtk-dvlp.async :as a]))
40
+
41
+
#?(:clj
42
+
(:import
43
+
[clojure.lang ExceptionInfo]))
38
44
45
+
,,,)
39
46
40
-
(defn?do-some-async-stuff
47
+
48
+
(defn<do-some-async-stuff
41
49
[& args]
42
50
(a/go
43
51
(a/<! (timeout1000))
@@ -47,37 +55,32 @@ Add the following dependency to your `project.clj`:<br>
0 commit comments