wait
$ntfy->wait([timeout])
- The
waitmethod is inherited from the Win32::IPC package. It waits for the notification object to become signaled when it detects a change. timeout is the maximum time to wait (in milliseconds). If timeout is omitted, the method waits forever. If timeout is 0, the function returns immediately. The function returns the following values:+1- The object is signaled
- Timed out
undef- An error occurred
Use
reseton the object afterwaitif you wish to continue monitoring.