chore(xo-web/createSubscription/run): add small comment

This commit is contained in:
Julien Fontanet 2020-07-13 16:13:33 +02:00
parent 2a71d3d20c
commit 26a295c8ed

View File

@ -204,6 +204,9 @@ const createSubscription = cb => {
timeout = setTimeout(clearCache, clearCacheDelay)
}
// will loop if n > 0 at the end
//
// will not do anything if already running
const run = () => {
clearTimeout(timeout)