waitForMessages procedure
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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, waitForMessages procedure
For more information see the Message Consumer objects, the Consuming messages, the Terminating the Message Consumer object, and the Creating a message handler process.