-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Any plans on adding Promises to nodejs-client?
Example:
var client = require("jsreport-client")(url, username, password);
client
.render({template: {...}}, {timeout: 1000})
.then( (response) => {
return response.pipe(res); // res is Express response
})
.catch((err) => {
console.log(err);
return next(err); //Express error handler
});
PaoloneM
Metadata
Metadata
Assignees
Labels
No labels