Particle.function - Particle.subscribe

Hello
I want to build a theft alarm control panel, using Particle.function and Particle.subscribe. How many Particle.subscribe can I use in the device (Photon or Argon) of the main central unit?
Regards Valentino

1 Like

The docs state that you can have up to 4 subscription handlers and 15 functions registered. But you can double check that value by checking the return value of the registration call and once you receive false you know that was too much :wink:

However, with a conscious use you can potentially get away with only one of each.

Grazie ! :pray: