Calls a function on an interval, and remembers the previous result between the update intervals. Works the same as OptimizedForInterval/DefineIntervalOptimization, but with override feature.
Custom Command Dependencies:
local interval = 15 local override = false local GetCurrentAsk = function () return CurrentPrice().ask end local result = CC_UpdateOnInterval(GetCurrentAsk, interval, override) Log(result)
HaasOnline Black Friday SaleFor a limited-time get up to 50% off monthly and 30% off annual plans.