Lean
$LEAN_TAG$
|
Defines a strategy for sleeping the current thread of execution. This is currently used via the ITokenBucket.Consume in order to wait for new tokens to become available for consumption. More...
Public Member Functions | |
void | Sleep () |
Sleeps the current thread in an implementation specific way and for an implementation specific amount of time More... | |
Defines a strategy for sleeping the current thread of execution. This is currently used via the ITokenBucket.Consume in order to wait for new tokens to become available for consumption.
Definition at line 22 of file ISleepStrategy.cs.
void QuantConnect.Util.RateLimit.ISleepStrategy.Sleep | ( | ) |
Sleeps the current thread in an implementation specific way and for an implementation specific amount of time
Implemented in QuantConnect.Util.RateLimit.ThreadSleepStrategy, and QuantConnect.Util.RateLimit.BusyWaitSleepStrategy.