Class TimeoutHelper
Can be used independently or assigned to WaitForConditionOrTimeOut(Func<bool>, TimeoutHelper) in the event the default timeout period needs to be adjusted
Inherited Members
Namespace: Unity.Netcode.TestHelpers.Runtime
Assembly: solution.dll
Syntax
public class TimeoutHelper
Constructors
| Name | Description |
|---|---|
| TimeoutHelper(float) |
Fields
| Name | Description |
|---|---|
| k_DefaultTimeOutWaitPeriod |
Properties
| Name | Description |
|---|---|
| TimedOut | |
| m_IsStarted |
Methods
| Name | Description |
|---|---|
| GetTimeElapsed() | |
| HasTimedOut() | |
| OnHasTimedOut() | |
| OnStart() | |
| OnStop() | |
| Start() | |
| Stop() |