Skip to content

Commit

Permalink
Merge branch 'doc' of github.com:kiwanami/emacs-deferred into doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kozo2 committed Mar 16, 2014
2 parents 593c2e4 + 1814a40 commit 2976d26
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions concurrent.el
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,19 @@ the removed deferred object. "
PARENT-ENV is the default environment. If this environment doesn't have the entry A and the parent one has the entry A, this environment can return the entry A. One can override the entry, setting another entry A to this environment.
TEST-FUNC is a test function that compares the entry keys. The default function is `equal'.
CHANNEL is a channel object that sends signals of variable events. Observers can receive following signals:
-get-first : the fist referrer is waiting for binding,
-get-waiting : another referrer is waiting for binding,
-set : a value is bound,
-get : returned a bound value,
-clear : cleared one entry,
-clear-all : cleared all entries.
``get-first``
the fist referrer is waiting for binding
``get-waiting``
another referrer is waiting for binding
``set``
a value is bound
``get``
returned a bound value
``clear``
cleared one entry
``clear-all``
cleared all entries
"
(let ((this (list parent-env
(or test-func 'equal)
Expand Down

0 comments on commit 2976d26

Please sign in to comment.