Skip to content

Commit

Permalink
align cljs.core.async/promise-chan docstring with clojure.core.async/…
Browse files Browse the repository at this point in the history
…promise-chan docstring
  • Loading branch information
swannodette committed Aug 29, 2024
1 parent aa6b951 commit 4e0733d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/clojure/cljs/core/async.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
exception-handler. A promise channel can take exactly one value that consumers
will receive. Once full, puts complete but val is dropped (no transfer).
Consumers will block until either a value is placed in the channel or the
channel is closed. See chan for the semantics of xform and ex-handler."
channel is closed, then return the value (or nil) forever. See chan for the
semantics of xform and ex-handler."
([] (promise-chan nil))
([xform] (promise-chan xform nil))
([xform ex-handler]
Expand Down

0 comments on commit 4e0733d

Please sign in to comment.