PAIR-code / megaplot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove setTimeout and clean up WorkScheduler

jimbojw opened this issue · comments

commented

Currently, the WorkScheduler sets recurring timeouts via setTimeout() in addition to recurring callbacks with requestAnimationFrame(). However, only animation frames are used anywhere in Megaplot. The setTimeout() implementation is dead code and should be removed.