eda_sys_timer_set_interval_timer
Set a repeating interval timer in EasyEDA Pro that runs a callback on each cycle. Removes any previous timer with the same ID, then returns if setup succeeded.
Instructions
sys_Timer.setIntervalTimer(id: string, timeout: number, callFn: (...args: any) => void, ...args: any) -> boolean 设置循环定时器 remarks: 如果遇到 ID 重复的定时器,则之前设置的定时器将被清除 returns: 定时器是否设置成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |