mike-jumper commented on pull request #573: URL: https://github.com/apache/guacamole-client/pull/573#issuecomment-786282279
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. ---------------------------------------------------------------- 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]
