Skip to content

Commit 0df835e

Browse files
committed
invoke.mdx: snapshot.children.<actorId>
1 parent f4a2dc1 commit 0df835e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/invoke.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ _Coming soon_
698698

699699
## Referencing Invoked Actors
700700

701-
Actors can be read on `snapshot.children.<actorId>[index]`. The returned value is an `ActorRef` object, with properties like:
701+
Actors can be read on `snapshot.children.<actorId>`. The returned value is an `ActorRef` object, with properties like:
702702

703703
- `id` - the ID of the actor
704704
- `send()`
@@ -712,6 +712,8 @@ actor.subscribe({
712712
});
713713
```
714714

715+
`snapshot.children` is a key-value object where the keys are the actor ID and the value is the `ActorRef`.
716+
715717
## TypeScript
716718

717719
_Coming soon_

0 commit comments

Comments
 (0)