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
Implement the wait() async helper function that waits for a detection
to return true by repeatedly checking it on each animation frame. This
is useful for DOM-based detections that need to wait for elements to
appear before the document is fully loaded.
- Add wait() function that loops using requestAnimationFrame
- Add comprehensive tests for the wait function
- Update test infrastructure to support async detection functions
- Add JSDoc documentation with usage examples
Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
0 commit comments