Async

Polling assertions in Gomega — Eventually (poll until it passes) and Consistently (must keep passing), the func(g Gomega) callback idiom, WithTimeout/WithPolling/Within/ProbeEvery, WithContext and Ginkgo SpecContext, StopTrying/TryAgainAfter bail-outs, MustPassRepeatedly, and default-interval tuning. Use when an assertion can't be true synchronously — anything involving goroutines, channels, network calls, eventual consistency, or "wait until / stays true".

onsi 6db0be9 8.4 KB Updated

File contents

onsi/gomega/tree/main/plugins/gomega/skills/async commit 6db0be9289

Frequently asked questions

npx skillmds@latest add onsi/async