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

by Christophe Grande

Usage:
(ns your-namespace
  (:require 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.