Skip to content

Commit 4543494

Browse files
committed
Add go-off documentation
1 parent 6bbc8ba commit 4543494

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
:plugins [[lein-codox "0.10.7"]]
2020
:codox {:source-uri "https://github.com/clj-commons/manifold/blob/master/{filepath}#L{line}"
2121
:metadata {:doc/format :markdown}
22-
:namespaces [manifold.deferred manifold.stream manifold.time manifold.bus manifold.executor]}
22+
:namespaces [manifold.deferred manifold.stream manifold.time manifold.bus manifold.executor manifold.go-off]}
2323
:global-vars {*warn-on-reflection* true}
2424
:jvm-opts ^:replace ["-server"
2525
"-XX:-OmitStackTraceInFastThrow"

src/manifold/go_off.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[manifold.stream :as s])
1010
(:import (manifold.stream.core IEventSource)))
1111

12-
(defn return-deferred [state value]
12+
(defn ^:no-doc return-deferred [state value]
1313
(let [d (ioc/aget-object state ioc/USER-START-IDX)]
1414
(d/success! d value)
1515
d))
@@ -36,7 +36,7 @@
3636
(throw r#)
3737
r#)))
3838

39-
(defn run-state-machine-wrapped [state]
39+
(defn ^:no-doc run-state-machine-wrapped [state]
4040
(try (ioc/run-state-machine state)
4141
(catch Throwable ex
4242
(d/error! (ioc/aget-object state ioc/USER-START-IDX) ex)
@@ -67,7 +67,7 @@
6767
(d/catch handler))
6868
nil))))))
6969

70-
(def async-custom-terminators
70+
(def ^:no-doc async-custom-terminators
7171
{'manifold.go-off/<! `manifold.go-off/take!
7272
:Return `return-deferred})
7373

0 commit comments

Comments
 (0)