[#6] typo
This commit is contained in:
parent
57b86f301d
commit
a99cac4285
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -335,11 +335,11 @@ as client side code. An example from the
|
|||
"pod.babashka.filewatcher"
|
||||
'pod.babashka.filewatcher/watch*
|
||||
[path opts]
|
||||
{:handler {:success (fn [{:keys [:value]}] (cb value))
|
||||
:error (fn [{:keys [:ex-message :ex-data]}]
|
||||
(binding [*out* *err*]
|
||||
(println "ERROR:" ex-message)))
|
||||
:done (fn [_])}})
|
||||
{:handlers {:success (fn [{:keys [:value]}] (cb value))
|
||||
:error (fn [{:keys [:ex-message :ex-data]}]
|
||||
(binding [*out* *err*]
|
||||
(println "ERROR:" ex-message)))
|
||||
:done (fn [_])}})
|
||||
nil))
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue