You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the time interval for pushing the wheel is less than 500ms, the task scheduled between two pushes cannot be accurately obtained. Is this a problem of terminal performance? Is it avoidable?
constwheel=newTimerWheel<any>();wheel.schedule('400',400/* ms */);wheel.schedule('500',500/* ms */);wheel.schedule('600',600/* ms */);wheel.schedule('700',700/* ms */);wheel.schedule('800',800/* ms */);wheel.schedule('900',900/* ms */);leti=1;setInterval(()=>{console.info(i*300,wheel);i++;constexpired=wheel.advance();for(constdataofexpired){console.info(data);}},300);
When the time interval for pushing the wheel is less than 500ms, the task scheduled between two pushes cannot be accurately obtained. Is this a problem of terminal performance? Is it avoidable?
The text was updated successfully, but these errors were encountered: