i wondered if someone here is aware of a function that allowes you to manually limit the time, that a code block is allowed to take until it executed. something like this:
if (timeout(15)) {
//this code here has 15 seconds to execute
}
else {
//if longer than 15 secs, do this
}
thanks - sid