Timer

Constructor

Timer <id> (int delay)

Action

When activated, this process waits for the specified delay before activating its child end, then it returns to the state deactivated.

Predefined children

end, delay

Example


use core
use base

_main_
Component root {
  Exit ex (0, 1)
  Timer t (1000)
  t.end->exit
}

run root
run syshook