Unsubscribe from receptionist events

I want to listen for receptionist events for limited amount of time than unsubscribe from it. Will stopping listening actor (by using Behaviors.stopped) be enough? How do receptionist maintains list of listening actors and what it will do if listening actor will be stopped?

That is correct, currently there is no Unsubscribe receptionist message, stopping the subscriber is the way to do it. The receptionist watches the subscribers to get notified and unsubscribe them if they terminate.

1 Like