CQRS.NET
2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
|
static |
Spins until the specified condition is satisfied or until the specified timeout is expired.
condition | A delegate to be executed over and over until it returns true. |
timeout | A T:System.TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely. |
sleepInMilliseconds | The amount of milliseconds the thread will sleep for. |
T:System.ArgumentNullException | The condition argument is null. |
T:System.ArgumentOutOfRangeException | timeout is a negative number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than F:System.Int32.MaxValue. |