-
How can buttons within a multi-action that do not belong to the same plugin pass values between them? For example, I have a button that makes an HTTP request and gets me a result. Then I use that result as an input to another button that makes another action. Of course, if I write all the buttons myself. They can communicate. But that means that I cannot use plugins written by someone else in a multi-action. It would be nice if there were a cache for a multi-action doing something like
Is this possible in any way as of now? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @buffos, Very cool idea! This is exact concept is not available at the moment, but plugins can communicate with one another via deep-linking. i.e. when a plugin completes the http request you can then send that result to another plugin via deeplinking through the next plugins UUID. I do worry a bit, that the asynchronous nature of these events could result in some inconsistent results. Overall, I don't see something more advanced than this in the current SD roadmap, but I will relay the message to the team! |
Beta Was this translation helpful? Give feedback.
Yup, you can import and utilize the
streamDeck
singleton anywhere throughout your plugin. Here is a quick snippet from our Twitch plugin that demonstrates using the logger fromstreamDeck
within thekeyUp
of an action.One thing worth noting, is that
getG…