Virtual Serial Ports - Software Virtual COM Port Null Modem Cable Emulator for Windows
When using library from scripting environments (browser or Windows Scripting Host) it is required to call this method to be able to receive events fired by the library. If client code does not subscribe to any events, calling this method is not required.
Client code passes a callback and interval in milliseconds. This callback is called according to specified interval and its return value is analyzed. If callback returns false, execution of dispatchEvents terminates and function returns.
Client code may also call IVirtualSerialLibrary.stopEventDispatching from any of event handlers to terminate the call.
Native code: Calling this method is not required if the caller uses IVirtualSerialLibraryListener interface to receive library events.