Method Sleep
Sleep(TimeSpan, CancellationToken)
Sleeps the executing thread to create a pause between simulated inputs.
Declaration
void Sleep(TimeSpan timeout, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | timeout | |
CancellationToken | cancellationToken |