Closed
Bug 804108
Opened 12 years ago
Closed 12 years ago
Promise-based API for async mozStorage
Categories
(Toolkit :: Storage, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 813833
People
(Reporter: Yoric, Unassigned)
References
Details
Attachments
(1 file)
926 bytes,
patch
|
Details | Diff | Splinter Review |
Promises are a very dev-friendly API for writing async code, especially when combined with Task.js (see e.g. http://dutherenverseauborddelatable.wordpress.com/2012/10/18/beautiful-off-main-thread-file-io/ ). I believe that it would be a good idea to provide a promise-based API for async mozStorage.
Reporter | ||
Comment 1•12 years ago
|
||
I am willing to mentor this, by the way, once we have decided of an acceptable API.
Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(mak77)
Comment 2•12 years ago
|
||
which kind of info do you need, I'm not sure which kind of API you're evaluating.
Flags: needinfo?(mak77)
Reporter | ||
Comment 3•12 years ago
|
||
Marco: The idea was to get you on board for this design. Here is a first draft.
Attachment #673956 -
Flags: feedback?(mak77)
Reporter | ||
Comment 4•12 years ago
|
||
Looks like gps beat me to it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 5•12 years ago
|
||
Comment on attachment 673956 [details] [diff] [review] First draft let's unify efforts there then, good that both of you are quite expert on async stuff!
Attachment #673956 -
Flags: feedback?(mak77)
You need to log in
before you can comment on or make changes to this bug.
Description
•