TimeoutController Class
Assembly: cs.temp.dll.dll
public sealed class TimeoutController : IDisposable
Inheritance
System.Object →
TimeoutController
Members
Constructors
Methods
Constructors
TimeoutController(CancellationTokenSource, DelayType, PlayerLoopTiming)
public TimeoutController(CancellationTokenSource linkCancellationTokenSource, DelayType delayType = DelayType.DeltaTime, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update)
TimeoutController(DelayType, PlayerLoopTiming)
public TimeoutController(DelayType delayType = DelayType.DeltaTime, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update)
Methods
Timeout(Int32)
public CancellationToken Timeout(int millisecondsTimeout)
Parameters
millisecondsTimeout
System.Int32
Returns
- CancellationToken
Timeout(TimeSpan)
public CancellationToken Timeout(TimeSpan timeout)
Parameters
timeout
TimeSpan
Returns
- CancellationToken