You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add timer autostart and TimerInfo callback support (#1472)
- extend `Node.createTimer()` to accept `{ autostart?: boolean }` while preserving existing call signatures
- inject `TimerInfo` metadata into JS timer callbacks when native support is available, exposing `expectedCallTime` and `actualCallTime`
- wire native timer creation to honor `autostart`, with a compatible fallback for older ROS distros
- update timer typings for `TimerInfo`, `TimerOptions`, and the optional callback argument
- add runtime and type tests covering `autostart: false`, callback metadata, and option validation
- refresh timer API comments to match the new behavior
Fix: #1471
0 commit comments