# InProcessTestCluster.WaitForLivenessToStabilizeAsync(bool)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestcluster/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.inprocesstestcluster/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/InProcTestCluster.cs#L363-L377)

```csharp
public Task WaitForLivenessToStabilizeAsync(bool didKill = false)
```

Wait for the silo liveness sub-system to detect and act on any recent cluster membership changes.

### Parameters

- `didKill` (`bool`): Whether recent membership changes we done by graceful Stop.
