Slicer progress from ITK Python filter

I have similar question to this: What is the best way to update progress bar from a scripted module? I am thinking of the progress bar which sometimes appears when running a CLI module or something similar.

ITK Ultrasound BMode filter is concrete module I am working on. As ITK filters usually have progress, it would be good if we could route these updates to Slicer’s GUI.

You could look how it’s done in SimpleITK. We set it up to release the GIL during processing.