sync

Resizer.sync()

Waits for the completion of all preceding tasks in the stream that is related to the image processing.