You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2021/04/09 19:01:15 UTC

[GitHub] [guacamole-client] knacktim commented on pull request #573: GUACAMOLE-680: Implement a guaranteed logout handler hook

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:
users@infra.apache.org