Grain deactivation/client-disconnection notification #7455
johnds1974
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a situation where on the Grain instance itself I need to know when the grain-client disconnects (whether abnormally or intentionally).
I notice that the Silo does show socket disconnected messages etc which the client disconnects, but the Grain instance itself has no idea that this has happened, and I want to be able to perform an action in the Grain itself to set it's own state.
Or even, I'd like Orleans to perform almost immediate Grain cleanup (and Deactivate the Grain so that I can override Deactivation to perform my disconnection logic).
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions