Skip to content

Commit 40e6d0b

Browse files
authored
Update nnnn-actors.md
1 parent c2f6ae9 commit 40e6d0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/nnnn-actors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,9 @@ actor Worker {
635635
Exhibits the following semantics:
636636

637637
- this function is isolated with the `Greeter` actor, and *not* the `Worker` (!),
638-
- as such, it can synchronously invoke the `greeter.greet` function
639-
- it cannot refer to isolated state of the Worker
640-
- it will execute on the `Greeter` actor,
638+
- as such, it can synchronously invoke the `greeter.greet` function.
639+
- it cannot refer to isolated state of the Worker,
640+
- it will execute on the `Greeter` actor.
641641

642642
In practice this means that this function can only be invoked by a greeter which passes `self` as an isolated parameter to the hello function of the worker it is about to greet. The `hello` function can refer to the actors private, non isolated state, such as a constant (or other `nonisolated` variables).
643643

0 commit comments

Comments
 (0)