Snappy/AsyncShutdown: Difference between revisions

→‎Use cases: Add Downloads API
(→‎Use cases: Add Downloads API)
Line 11: Line 11:
== Telemetry data must be saved asynchronously ==
== Telemetry data must be saved asynchronously ==
(TBD)
(TBD)
== Downloads API may have a pending "downloads.json" write ==
Before saving the list of in-progress downloads, the Downloads API waits 1.5 seconds after every change in state of downloads.
Being able to force an asynchronous write of the JSON file in case the browser is closed during the 1.5 seconds window might be useful.


= Related bugs =
= Related bugs =
- https://bugzilla.mozilla.org/show_bug.cgi?id=722648 - Asynchronous observers.
- https://bugzilla.mozilla.org/show_bug.cgi?id=722648 - Asynchronous observers.
- https://bugzilla.mozilla.org/show_bug.cgi?id=881667 - Expose startup/shutdown stage to components.
- https://bugzilla.mozilla.org/show_bug.cgi?id=881667 - Expose startup/shutdown stage to components.
Confirmed users
183

edits