Interface ITimeoutTimer
A thread-safe class for running timeouts on asynchronous methods.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface ITimeoutTimer
Methods
Start(Int32)
Starts the timer.
Declaration
void Start(int timeout)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | timeout | The timeout length, in milliseconds. |
Stop()
Stops the timer, notifying the calling code if the timeout has already elapsed.
Declaration
bool Stop()
Returns
Type | Description |
---|---|
System.Boolean |
|