Skip to content

ISleepStrategy

QuantConnect.Util.RateLimit.ISleepStrategy

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.

sleep

sleep() -> None

Sleeps the current thread in an implementation specific way and for an implementation specific amount of time