home/categories/testing/samjhecht-wrangler-reference-prompts-skills-condition-based-waiting-skill-md
testingtesting-security

condition-based-waiting

Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling; prefer event-based waiting when available (WebSockets, EventEmitters, Observables)

samjhecht
maintainer
samjhecht
更新於 1/19/2026
星標
3
分支
1
quick start

Installation and usage

Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling; prefer event-based waiting when available (WebSockets, EventEmitters, Observables)

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use condition-based-waiting