thanks for describing promise/deferred. What i miss though is an explanation, as to why this is better than simple callbacks/events especially in the javascript world.
In the end, i have to define callbacks in the promise anyway, so why the whole caboodle in the first place?
thanks for describing promise/deferred. What i miss though is an explanation, as to why this is better than simple callbacks/events especially in the javascript world.
In the end, i have to define callbacks in the promise anyway, so why the whole caboodle in the first place?