Skip to main content

take

function

clojure.core.async/take

Available in:BBCLJ
(take [n ch] [n ch buf-or-n])
Returns a channel that will return, at most, n items from ch. After n items have been returned, or ch has been closed, the return channel will close. The output channel is unbuffered by default, unless buf-or-n is given.

No examples yet. Be the first to add one!