w3c / requestidlecallback

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

Defined IdleDeadline internal layout #56

Closed annevk closed 7 years ago

annevk commented 7 years ago

It seems like this object has some private data that its two methods expose. It would be clearer to be explicit about this rather than define things in this after-the-fact style.

swickr commented 7 years ago

specifically, a deadline as well as didTimeout

igrigorik commented 7 years ago

Resolved via https://github.com/w3c/requestidlecallback/pull/58, closing.