Flush messages before going to sleep

I’ve no answer for that, but @mdma might have.

Maybe one could think up some way to provide a callback parameter to Spark.publish() that gets called when publishing is finished :wink:

But for immediate testing, you could just add a Particle.process() after your Particle.publish() to see if this shortens your minimum waiting periode.

1 Like