w3c / requestidlecallback

Cooperative Scheduling of Background Tasks
https://w3c.github.io/requestidlecallback/
Other
50 stars 19 forks source link

Clarify that an idle callback won't run in the same idle period as it's posted. #35

Closed rmcilroy closed 8 years ago

rmcilroy commented 8 years ago

Clarify the reasons for not running an idle callback in the same idle period as it's posted.

Tries to clarify some of the discussion in #27 and #28.

igrigorik commented 8 years ago

This looks great, the example is really helpful. LGTM.

igrigorik commented 8 years ago

/cc @toddreifsteck @bzbarsky

bzbarsky commented 8 years ago

I assume the other stuff in #28 that hasn't made it into the text so far will still do so at some point?

Anyway, as a substantive matter https://github.com/w3c/requestidlecallback/issues/28#issuecomment-148429927 last paragraph is what I think about this setup.

igrigorik commented 8 years ago

I assume the other stuff in #28 that hasn't made it into the text so far will still do so at some point?

Yeah. This address some but not all of that feedback. I'll merge this and we can continue iterating.