repl: Publish notification about repl updates to subscribers.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 19 Jan 2017 17:10:08 +0000 (11:10 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 19 Jan 2017 17:13:37 +0000 (11:13 -0600)
commit737c0b20467085199c5c189f68c495f239118e68
tree60e01ded7d51be232c82f6edbf210b95c235d330
parente34c7819169a3de5b411a9a423d7f8f3c28435cc
repl: Publish notification about repl updates to subscribers.

* 8sync/repl.scm (<repl-manager>): Convert to use define-class.
Switch all getters accessors from `repl-manager-' prefix to
dot-prefix.
Add subscribers slot.
Add action handlers for add-subscriber and remove-subscriber.
(repl-manager-cleanup, repl-manager-init): Use dot-prefix
getters/accessors.
(repl-manager-init): Update to inform subscribers after every time
we poll the REPL.
(repl-manager-add-subscriber, repl-manager-remove-subscriber): New
procedures.
8sync/repl.scm