diff --git a/syndicate/broker/tf.rkt b/syndicate/broker/tf.rkt index fd5ce1c..bf17da7 100644 --- a/syndicate/broker/tf.rkt +++ b/syndicate/broker/tf.rkt @@ -75,6 +75,14 @@ ;; interests generated by the way `during` is implemented, ;; only to general ones. ;; + ;; NB: There's a semantic difference here! In the + ;; commented-out version immediately below, we care about the + ;; start and stop events of the *facet*, so will get "absent" + ;; messages upon clean termination. In the other version, + ;; with separate asserted/retracted handlers, we will *not* + ;; get "absent" messages on clean termination, because the + ;; assertion is still there even as the actor terminates! + ;; ;; (during (from-broker node (present $who)) ;; (on-start (log-info "~a: ~a present" name who)) ;; (on-stop (log-info "~a: ~a absent" name who)))