This commit is contained in:
Tony Garnock-Jones 2022-03-05 16:43:18 +01:00
parent 3c707344c1
commit 9bad6be0aa
2 changed files with 7 additions and 2 deletions

View File

@ -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 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. 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 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 [entity][] addressed by the event,
- the [facet][] owning the targeted entity, and - the [facet][] owning the targeted entity, and
- the collection of pending [actions][] produced during execution. - the collection of pending [actions][] produced during execution.

View File

@ -77,7 +77,7 @@ al.*][De Koster et al 2016] define turns as follows:
In the SAM, a turn comprises 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 entity's *execution* of its response to the event, and
- the collection of pending *actions* produced during execution. - the collection of pending *actions* produced during execution.