# PumpMessages Method The PumpMessages method peeks and dispatches messages. Syntax
    SiteCafe.PumpMessages()
Return Value None. Remarks This method calls PeekMessage/DispatchMessage a few times to realize GUI updates during long javascript loops. Examples The following example peeks and dispatches messages.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.PumpMessages();
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top