Skip to content
Snippets Groups Projects
Commit 0e2cccc6 authored by Barret Rennie's avatar Barret Rennie
Browse files

Bug 1676942 - Refactor RunOnBackgroundThread r=nika

RunOnBackgroundThread has been renamed to RunOnBackgroundThreadAndResolve. The
body dealing with calling InvokeAsync for calling a function on the background
event target and returning a MozPromise has been refactored into a new
function, RunOnBackgroundThread.

This allows us to have more complicated IOUtils methods that do not simply
resolve their promises to whatever is returned by the background methods.

Differential Revision: https://phabricator.services.mozilla.com/D99002
parent 54768269
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment