Skip to content

Feature request: make fetch() return a promise  #3

@dzimine

Description

@dzimine

so that the client can use it like:

rrd.fetch(filename,...,function(t,d) {
/* do smthing /
}).error(function(e){
/
deal with error /
}).done(function() {
/
happily handle results */
});

Took me some digging to figure that the way to register "fetch is done" is to check the callback for (null,null).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions