Skip to content

Commit 4e0733d

Browse files
committed
align cljs.core.async/promise-chan docstring with clojure.core.async/promise-chan docstring
1 parent aa6b951 commit 4e0733d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/core/async.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
exception-handler. A promise channel can take exactly one value that consumers
7979
will receive. Once full, puts complete but val is dropped (no transfer).
8080
Consumers will block until either a value is placed in the channel or the
81-
channel is closed. See chan for the semantics of xform and ex-handler."
81+
channel is closed, then return the value (or nil) forever. See chan for the
82+
semantics of xform and ex-handler."
8283
([] (promise-chan nil))
8384
([xform] (promise-chan xform nil))
8485
([xform ex-handler]

0 commit comments

Comments
 (0)