Multiple Particle Functions called simultaneously

Hello,

I created a python script to call particle functions to send a lot of data (more than 2000 bytes) to the particle photon.

Would I be able to speed up the process by declaring the same function with different names

ex) sendA, sendB, sendC

and call all three functions at once with the POST request with different parts of the data? Thank you.

There is no advantage in calling different functions over calling the same function repeatedly.
IIRC the cloud task on the device will always service one function call per iteration of Partile.process() (explicit or implicit).

2 Likes

Thank you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.