I would like to perform a function after the windowDidResize event ended. While this block is running, it prints the following:
NotificationCenter.default .