API for agent-utils - clojure-contrib v1.2 (stable)

by Christophe Grande

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at http://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.agent-utils

Overview

Miscellaneous agent utilities
(note to other contrib members: feel free to add to this lib)

Public Variables and Functions



capture-and-send

macro
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (capture-and-send vars agent action & args)
Capture the current value of the specified vars and rebind
them on the agent thread before executing the action.

Example:
  (capture-and-send [*out*] a f b c)
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.