Radberi-ConditionBasedWaitingCSharp

Community

Eliminate flaky tests with condition-based waits.

AuthorShade666
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tests often suffer from race conditions and timing dependencies, leading to flaky results when relying on arbitrary delays. This Skill helps wait for the actual state change instead of guessing timings.

Core Features & Use Cases

  • Condition-based waiting: polls a condition until a non-null result or true is returned.
  • Sync and async support: overloads cover synchronous and asynchronous conditions with cancellation support.
  • Safe timeouts and retries: configurable timeout and poll interval prevent infinite loops and flaky tests.

Quick Start

Invoke WaitFor.ConditionAsync with a predicate and a timeout to wait for the desired condition.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Radberi-ConditionBasedWaitingCSharp
Download link: https://github.com/Shade666/huml-dotnet/archive/main.zip#radberi-conditionbasedwaitingcsharp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.