This question is locked. New answers and comments are not allowed.
Hello,
I could not find a dedicated place into the forum to request new features, so i posted here.
I think that if everlive.sync() function will be more usefull and handy if it returns a promise.
An event based approach sometimes can get really messy to track and maintain. It's no real easy way to track the flow of an app.
I think something like follow code it's more usefull...
var
promise = el.sync();
promise.then(
function
(syncInfo) {
//promise resolved, syncInfo the same object of today
},
function
(syncInfo) {
//promise rejected, syncInfo the same object of today
},
function
(evArgs) {
//sync in progress, evArgs the same object of today
});
Thanks in advance,
Francesco.
Francesco.