The event loop automatically returns when the window is closed pulseTimeout is given in milliseconds.
See Implementation
The event loop automatically returns when the window is closed pulseTimeout is given in milliseconds.