From 9bad6be0aaece564d1eb793ec4145af9deaec376 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Sat, 5 Mar 2022 16:43:18 +0100 Subject: [PATCH] Tweaks --- src/glossary.md | 7 ++++++- src/syndicated-actor-model.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/glossary.md b/src/glossary.md index 139ad7d..38f322f 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -824,9 +824,14 @@ Each time an [event][] arrives at an [actor][]'s [mailbox][], the actor takes a is the process of handling the triggering event, from the moment of its withdrawal from the mailbox to the moment of the completion of its interpretation. +Relatedly, the programming-language *representation* of a turn is a convenient place to attach +the APIs necessary for working with the [Syndicated Actor Model][]. In many implementations, +some class named `Turn` or similar exposes methods corresponding to the [actions][] available +in the [SAM]. + In the [SAM][], a turn comprises - - the [event][] that triggers the turn, + - the [event][] that triggered the turn, - the [entity][] addressed by the event, - the [facet][] owning the targeted entity, and - the collection of pending [actions][] produced during execution. diff --git a/src/syndicated-actor-model.md b/src/syndicated-actor-model.md index 02d3718..bcee8bf 100644 --- a/src/syndicated-actor-model.md +++ b/src/syndicated-actor-model.md @@ -77,7 +77,7 @@ al.*][De Koster et al 2016] define turns as follows: In the SAM, a turn comprises - - the *event* that triggers the turn and the *entity* addressed by the event, + - the *event* that triggered the turn and the *entity* addressed by the event, - the entity's *execution* of its response to the event, and - the collection of pending *actions* produced during execution.