Jan Jongboom <[email protected]> writes:

> On Wednesday, October 15, 2014 10:57:34 AM UTC+2, Jan Jongboom wrote:
>> If I add a setTimeout() call in system, but I don't have a CPU wake
>> lock, can I assume that this function will be called?
>
> And if not, should I use mozAlarms?

You can't assume the setTimeout will be called in the time you specified
without a CPU wake lock. If you must call the callback at the specific
time then you should consider mozAlarms.

Kanru
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to