EventManager::ReceiveEvent (open)
Tries to receive incoming events
Syntax
LOADLIB "wh::internal/jobs.whlib";
RECORD FUNCTION ReceiveEvent(DATETIME wait_until)
Parameters
DATETIME wait_until
Wait until this time for events, DEFAULT DATETIME for events that are currently on the queue
Return value
RECORD
DEFAULT RECORD if no event is available
event
Name of the event
msg
Message with the event
status
Return status, 'ok' or 'timeout'