API for anansi.ceptr
by
Eric Harris-Braun
Usage:
(ns your-namespace
(:require anansi.ceptr))
Overview
basic ceptr functions
Public Variables and Functions
-->
function
Usage: (--> signal from-receptor to & args)
send a signal to a receptor
address-of
function
Usage: (address-of receptor)
get the address of a receptor
contents
function
Usage: (contents receptor key)
get an item out of the manifest
destroy-receptor
function
Usage: (destroy-receptor receptor address)
destroy a contained receptor by address
get-receptor
function
Usage: (get-receptor receptor address)
get a contained receptor by address
p->
function
Usage: (p-> signal receptor & args)
send a signal from the parent
parent-of
function
Usage: (parent-of receptor)
return the receptor that is a receptor's parent
restore-content
function
Usage: (restore-content receptor key value)
set the value of a manifest item without updating the changes count
s->
function
Usage: (s-> signal receptor & args)
send a signal to yourself
set-content
function
Usage: (set-content receptor key value)
set the value of a manifest item
state-convert
function
Usage: (state-convert receptor full?)
worker function to serialize the standard contents of a recptor