How to edit variables through subscriptions in parallel

Hi, I’m looking to change the state of one of my variables when a subscription event is triggered, so that it may reflect the change immediately in my second subscription event that is fired at around the same time. If it were a promise, I’m pretty sure I could use Promise.all(), however I’m at a loss as to how to do this through a Moralis subscription.

Thank you!

Can you give code example for what you want to do?