IWaitStrategy Interface
Represents a readiness check that completes once a container is ready to be used.
public interface IWaitStrategyMethods
| Name | Description |
|---|---|
| WaitAsync(TemporaryContainer, CancellationToken) | Waits until the container satisfies this strategy. |
WaitAsync(TemporaryContainer, CancellationToken)
Waits until the container satisfies this strategy.
Task WaitAsync(TemporaryContainer container, CancellationToken cancellationToken)Parameters
containerTemporaryContainer- The container to check.
cancellationTokenCancellationToken- A token used to abort the wait (for example when the startup timeout elapses).
Returns
Task A task that completes when the container is ready.