Skip to main content

sliding-buffer

function

clojure.core.async/sliding-buffer

Available in:BBCLJ
(sliding-buffer [n])
Returns a buffer of size n. When full, puts will complete, and be buffered, but oldest elements in buffer will be dropped (not transferred).

No examples yet. Be the first to add one!