Skip to content

Commit

Permalink
docs: replace the deadletter section with events stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Jan 14, 2024
1 parent 87275c8 commit ca9b73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ The subscription methods can be found on the `ActorSystem` interface.
- [`ActorPassivated`](./protos/goakt/events/v1/events.proto): emitted when an actor is passivated
- [`ActorChildCreated`](./protos/goakt/events/v1/events.proto): emitted when a child actor is created
- [`ActorRestarted`](./protos/goakt/events/v1/events.proto): emitted when an actor has restarted
- [`Deadletter`](./protos/goakt/events/v1/events.proto): emitted when a message cannot be delivered or that were not handled by a given actor. Those messages are encapsulated in an event called [Deadletter](./protos/goakt/events/v1/events.proto).
- [`Deadletter`](./protos/goakt/events/v1/events.proto): emitted when a message cannot be delivered or that were not handled by a given actor.
Dead letters are automatically emitted when a message cannot be delivered to actors' mailbox or when an Ask times out.
Also, one can emit dead letters from the receiving actor by using the `ctx.Unhandled()` method. This is useful instead of panicking when
the receiving actor does not know how to handle a particular message. Dead letters are not propagated over the network, there are tied to the local actor system.
Expand Down

0 comments on commit ca9b73a

Please sign in to comment.