Missing onAppear and onDisappear events
Wolverine80 opened this issue · 2 comments
Wolverine80 commented
Hi,
I was happy to see that the StreamDeck events made available in the API, but the two most interesting, onAppear and onDisappear, are not included.
I would have used them to open and close a websocket connection to another server, that otherwise would not be initiated because I don't use the onTick action in favor of an event based trigger in this module.
BarRaider commented
Hi @Wolverine80 ,
Since SDTools wraps your plugin OnWillAppear automatically triggers your constructor OnWillDisappear calls your Dispose function.
Wolverine80 commented
Oh, that's cool. Thanks for the info.