(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Process COM messages, sleeping for up to timeoutms milliseconds
bool com_message_pump ([ int $timeoutms = 0 ] )
This function will sleep for up to timeoutms milliseconds, or until a message arrives in the queue.
The purpose of this function is to route COM calls between apartments and handle various synchronization issues. This allows your script to wait efficiently for events to be trigg