Python Streamer: Manually Flushing Queued Streamer Data

You can manually flush on your own accord by calling Streamer.flush(). This will ensure that anything that has been queued or buffered locally will get sent to Initial State's servers asap.

Streamer.flush()


The Streamer.flush() method can also be used at the end of each loop iteration to ensure that each loop's data is sent in batches.

Feedback and Knowledge Base