Services/Sync/WEP/116: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
== Proposed solution<br>  ==
== Proposed solution<br>  ==


<br>
Everything takes a callback as its last argument. Callbacks always take an error as their first argument. If null/undefined, there wasn't an error.


#Everything takes a callback<br>
Divide et conquera:&nbsp;The codebase is converted to async calls step by step, from the inside out. Private helpers are turned async without backwards compatibility. More public API methods are made async and renamed to methodCb while we provide a sync version of it under the old name for backwards compatibility.


== Task overview ==
== Task overview ==
canmove, Confirmed users
725

edits

Navigation menu