You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Context is usually not available other than from within an actor's Handler and thus, this feature cannot be used from all places.
I'd claim that most likely, a piece of code shutting down all instances of a set of actors will be outside those actors and thus, would likely want to do this from the Address. An Address can still be acquired from a Context so this can still be used from within a Handler.
Additionally, to make progress on #91, we need to remove as many APIs from Context as possible and this one is using the sender which is already embedded in an Address so it is easy to port.
The text was updated successfully, but these errors were encountered:
A
Context
is usually not available other than from within an actor'sHandler
and thus, this feature cannot be used from all places.I'd claim that most likely, a piece of code shutting down all instances of a set of actors will be outside those actors and thus, would likely want to do this from the
Address
. AnAddress
can still be acquired from aContext
so this can still be used from within aHandler
.Additionally, to make progress on #91, we need to remove as many APIs from
Context
as possible and this one is using the sender which is already embedded in anAddress
so it is easy to port.The text was updated successfully, but these errors were encountered: