Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2011 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1492466 to your computer and use it in GitHub Desktop.
Save anonymous/1492466 to your computer and use it in GitHub Desktop.
<amalloy> (doc seque)
<lazybot> => "([s] [n-or-q s]); Creates a queued seq on another
(presumably lazy) seq s. The queued seq will produce a concrete seq in
the background, and can get up to n items ahead of the consumer.
n-or-q can be an integer n buffer size, or an instance of
java.util.concurrent BlockingQueue. Note that reading from a seque can
block if the reader gets ahead of the producer."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment