BarRaider/streamdeck-tools

Missing onAppear and onDisappear events

Wolverine80 opened this issue · 2 comments

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.

Hi @Wolverine80 ,

Since SDTools wraps your plugin OnWillAppear automatically triggers your constructor OnWillDisappear calls your Dispose function.

Oh, that's cool. Thanks for the info.