projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use *init* and *cleanup* in existing actors.
[8sync.git]
/
doc
/
8sync-new-manual.org
diff --git
a/doc/8sync-new-manual.org
b/doc/8sync-new-manual.org
index bd6bb319fad467e154d23b77122209099d523d22..c4cf67ef337e0f19c56e99a289db0a8772db60ec 100644
(file)
--- a/
doc/8sync-new-manual.org
+++ b/
doc/8sync-new-manual.org
@@
-165,7
+165,7
@@
yet. Time to fix that!
#:username username
#:server server
#:channels channels))
#:username username
#:server server
#:channels channels))
- (run-hive hive
(list (bootstrap-message hive irc-bot 'init)
)))
+ (run-hive hive
'(
)))
#+END_SRC
Actors are connected to something called a "hive", which is a
#+END_SRC
Actors are connected to something called a "hive", which is a
@@
-434,8
+434,7
@@
Redefine run-bot like so:
(bootstrap-actor* hive <repl-manager> "repl"
#:path repl-path))
(bootstrap-actor* hive <repl-manager> "repl"
#:path repl-path))
- (run-hive hive (list (bootstrap-message hive irc-bot 'init)
- (bootstrap-message hive repl-manager 'init))))
+ (run-hive hive '()))
#+END_SRC
If we put a call to run-bot at the bottom of our file we can call it,
#+END_SRC
If we put a call to run-bot at the bottom of our file we can call it,