Skip to content

Commit 69e3cb9

Browse files
authored
Update stream.clj
1 parent 37a9a37 commit 69e3cb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/manifold/stream.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,9 @@
196196
`(.isSynchronous ~(with-meta x {:tag "manifold.stream.core.IEventStream"})))
197197

198198
(definline close!
199-
"Closes a sink, so that it can't emit any more messages.
199+
"Closes a sink, so you can't `put!` any more messages onto it.
200200
201-
Note that 'take's on associated sources will still work until
202-
the sink is exhausted."
201+
Note that if it's also a source, `take!`s will still work until the source is drained."
203202

204203
[sink]
205204
`(.close ~(with-meta sink {:tag "manifold.stream.core.IEventStream"})))

0 commit comments

Comments
 (0)