Not restricted to callback and errback only, more events may be available according to the process being executed, keeping JS as natural as possible.
Hacks can be added on top to handle parallel or chainable process.
One last thing, make the process asynchronous by default and set a property to false to make it synchronous, no need to force a last parameter to a function.
Hacks can be added on top to handle parallel or chainable process.
One last thing, make the process asynchronous by default and set a property to false to make it synchronous, no need to force a last parameter to a function.