knacktim commented on pull request #573:
URL: https://github.com/apache/guacamole-client/pull/573#issuecomment-816894928


   > In that case, what about:
   > 
   > * Leverage `Guacamole.Event.Target`.
   > * In the event implementation that extends `Guacamole.Event`, expose the 
logout promise as a property.
   > 
   > Implementations that hook into the logout event would then be able to 
layer their own async operations onto the promise. As long as that default 
reload operation is added to the promise only after dispatching the event, 
things would work as you describe.
   
   I am hoping to get the time to refactor to this implementation in the next 
week or so!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to