vpi.Stream.sync

Stream.sync(self: vpi.Stream) None

Synchronize the stream.

Note

The synchronization is done by blocking the calling thread until all submitted commands in this stream queue are done (queue becomes empty).