waitForMessages procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
Waits and processes events as long as the user-defined function is TRUE.
Syntax
|
Parameters
- UDFName
- User-defined function.
- procH
- Handle to user-defined function.
- timeOut
- Time limit (in seconds) in which no messages are received.
Applies to
Session objects
Notes
-
UDFName (in procH) returns
TRUEand there is no period of more than timeOut seconds in which no messages are received. - The user-defined function, UDFName, is evaluated each time after a message is handled.
See also
createMessageConsumer procedure, deleteConsumer procedure, messageHandler procedure, #rfi1387308559859
For more information see the Message Consumer objects, the Consuming messages, the Terminating the Message Consumer object, and the Creating a message handler process.