canmove, Confirmed users
725
edits
| Line 17: | Line 17: | ||
== Proposed solution<br> == | == Proposed solution<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. | |||
Divide et conquera: 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 == | ||