Closed
Bug 1783815
Opened 2 years ago
Closed 2 years ago
QM: Add DirectoryLock::Acquire overload which returns a MozPromise
Categories
(Core :: Storage: Quota Manager, task, P2)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
106 Branch
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(1 file)
This will allow to asynchronously acquire a directory lock without using a special class which implements nsIRunnable and OpenDirectoryListener (like it's done in all existing quota clients currently).
The goal is to be able to write code like this:
return directoryLock->Acquire()->Then(...);
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/052ae43a6622 QM: Add DirectoryLock::Acquire overload which returns a MozPromise; r=dom-storage-reviewers,jesup,asuth
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox106:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•