Async
takes a val from port. Must be called inside a (go ...) block. Will return nil if closed. Will park if nothing is avai...
functionclojure.core.async
takes a val from port. Will return nil if closed. Will block if nothing is available. Not intended for use in direct...
functionclojure.core.async
puts a val into port. nil values are not allowed. Must be called inside a (go ...) block. Will park if no buffer space...
functionclojure.core.async
puts a val into port. nil values are not allowed. Will block if no buffer space is available. Returns true unless port...
functionclojure.core.async
- value
clojure.core.async
- value
clojure.core.async
- value
clojure.core.async
- value
clojure.core.async
Adds ch as an input to the mix
functionclojure.core.async
- protocol-method
clojure.core.async
Makes a single choice between one of several channel operations, as if by alts!, returning the value of the result exp...
macroclojure.core.async
Like alt!, except as if by alts!!, will block until completed, and not intended for use in (go ...) blocks.
macroclojure.core.async
Completes at most one of several channel operations. Must be called inside a (go ...) block. ports is a vector of chan...
functionclojure.core.async
Like alts!, except takes will be made as if by <!!, and puts will be made as if by >!!, will block until completed. ...
functionclojure.core.async
Returns a fixed buffer of size n. When full, puts will block/park.
functionclojure.core.async
Creates a channel with an optional buffer, an optional transducer (like (map f), (filter p) etc or a composition there...
functionclojure.core.async
Closes a channel. The channel will no longer accept any puts (they will be ignored). Data in the channel remains avail...
functionclojure.core.async
- macro
clojure.core.async
- function
clojure.core.async
returns derefable [val port] if immediate, nil if enqueued
functionclojure.core.async
Returns a buffer of size n. When full, puts will complete but val will be dropped (no transfer).
functionclojure.core.async
- function
clojure.core.async
Asynchronously executes the body, returning immediately to the calling thread. Additionally, any visible calls to <!, ...
macroclojure.core.async
Like (go (loop ...))
macroclojure.core.async
Returns a channel containing the single (collection) result of the items taken from the channel conjoined to the suppl...
functionclojure.core.async
- function
clojure.core.async
Takes a function and a collection of source channels, and returns a channel which contains the values produced by appl...
functionclojure.core.async
Takes a collection of source channels and returns a channel which contains all values taken from them. The returned ch...
functionclojure.core.async
Creates and returns a mix of one or more input channels which will be put on the supplied out channel. Input sources c...
functionclojure.core.async
Creates and returns a mult(iple) of the supplied channel. Channels containing copies of the channel can be created wit...
functionclojure.core.async
- protocol-method
clojure.core.async
Puts a val into port if it's possible to do so immediately. nil values are not allowed. Never blocks. Returns true if...
functionclojure.core.async
Puts the contents of coll into the supplied channel. By default the channel will be closed after the items are copied...
functionclojure.core.async
Like onto-chan! for use when accessing coll might block, e.g. a lazy seq of blocking operations
functionclojure.core.async
Takes elements from the from channel and supplies them to the to channel. By default, the to channel will be closed wh...
functionclojure.core.async
Takes elements from the from channel and supplies them to the to channel, subject to the transducer xf, with paralleli...
functionclojure.core.async
Takes elements from the from channel and supplies them to the to channel, subject to the async function af, with paral...
functionclojure.core.async
Like pipeline, for blocking operations.
functionclojure.core.async
Takes a val from port if it's possible to do so immediately. Never blocks. Returns value if successful, nil otherwise...
functionclojure.core.async
Creates a promise channel with an optional transducer, and an optional exception-handler. A promise channel can take e...
functionclojure.core.async
Creates and returns a pub(lication) of the supplied channel, partitioned into topics by the topic-fn. topic-fn will be...
functionclojure.core.async
Asynchronously puts a val into port, calling fn1 (if supplied) when complete, passing false iff port is already close...
functionclojure.core.async
f should be a function of 2 arguments. Returns a channel containing the single result of applying f to init and the fi...
functionclojure.core.async
Returns a buffer of size n. When full, puts will complete, and be buffered, but oldest elements in buffer will be drop...
functionclojure.core.async
Sets the solo mode of the mix. mode must be one of :mute or :pause
functionclojure.core.async
- protocol-method
clojure.core.async
Takes a predicate and a source channel and returns a vector of two channels, the first of which will contain the value...
functionclojure.core.async
Subscribes a channel to a topic of a pub. By default the channel will be closed when the source closes, but can be ...
functionclojure.core.async
- protocol-method
clojure.core.async
Returns a channel that will return, at most, n items from ch. After n items have been returned, or ch has been closed...
functionclojure.core.async
Asynchronously takes a val from port, passing to fn1. Will pass nil if closed. If on-caller? (default true) is true, ...
functionclojure.core.async
Copies the mult source onto the supplied channel. By default the channel will be closed when the source closes, but...
functionclojure.core.async
- protocol-method
clojure.core.async
Executes the body in another thread, returning immediately to the calling thread. Returns a channel which will receive...
macroclojure.core.async
Executes f in another thread, returning immediately to the calling thread. Returns a channel which will receive the re...
functionclojure.core.async
Returns a channel that will close after msecs
functionclojure.core.async
Creates and returns a channel which contains the contents of coll, closing when exhausted. If accessing coll might ...
functionclojure.core.async
Like to-chan! for use when accessing coll might block, e.g. a lazy seq of blocking operations
functionclojure.core.async
Atomically sets the state(s) of one or more channels in a mix. The state map is a map of channels -> channel-state-map...
functionclojure.core.async
- protocol-method
clojure.core.async
async/reduces a channel with a transformation (xform f). Returns a channel containing the result. ch must close befor...
functionclojure.core.async
Returns true if a channel created with buff will never block. That is to say, puts into this buffer will never cause ...
functionclojure.core.async
Removes ch as an input to the mix
functionclojure.core.async
- protocol-method
clojure.core.async
removes all inputs from the mix
functionclojure.core.async
- protocol-method
clojure.core.async
Unsubscribes a channel from a topic of a pub
functionclojure.core.async
- protocol-method
clojure.core.async
Unsubscribes all channels from a pub, or a topic of a pub
functionclojure.core.async
- protocol-method
clojure.core.async
Disconnects a target channel from a mult
functionclojure.core.async
- protocol-method
clojure.core.async
Disconnects all target channels from a mult
functionclojure.core.async
- protocol-method
clojure.core.async