Most of the time I program it using Node Red, which some Meraki and Cisco techies also like using. my present project uses one of these to autonomously control the height at which a racing sail boat "flies" above the water when on hydrofoils. I use ultrasonics to measure the height above the water and adjust trim tabs on control surfaces using linear activators along with "some other stuff".
It is absolutely brilliant, and it scales as I can just add additional 2040s if I need more processing power. Node Red is based on Node.js so it is asynchronous . . .
I intend using the same software to automate Meraki API functionality.