Thread Sleep Interrupt

Is there a thread interrupt function available from rules to break a thread that is currently sleeping?

Related, is there a Javadoc-like interface that might contain this type of information? I thought I saw one linked in another post, but I cannot find it now…

Should I take the lack of response to mean that thread interrupts do not exist? :slight_smile:

Anyone have tips regarding the Javadoc-like documentation?

if (HueVakna.state == ON){
sendCommand(hue1bright, 10)
sendCommand(hue2bright, 10)
Thread::sleep(100000)
}
if (HueVakna.state == ON){
sendCommand(hue1bright, 20)
sendCommand(hue2bright, 20)
Thread::sleep(100000)
}
if (HueVakna.state == ON){
sendCommand(hue1bright, 30)
sendCommand(hue2bright, 30)
Thread::sleep(100000)
}
if (HueVakna.state == ON){
sendCommand(hue1bright, 40)
sendCommand(hue2bright, 40)
Thread::sleep(100000)
}