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

by Christophe Grande

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
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.