hoodie-client icon indicating copy to clipboard operation
hoodie-client copied to clipboard

Add hoodie.task API

Open gr2m opened this issue 10 years ago • 3 comments

Should be something like

var Task = require('hoodie-client-task')
// ...
api.task = new Task(api.id, { url: '/hoodie/account/api' })

gr2m avatar Nov 19 '15 21:11 gr2m

Just a question (I know nothing about this code), is there a reason you're defining Task, but not calling it? You call .task, but that's a different variable, right?

bnb avatar Nov 27 '15 20:11 bnb

ohhh I made a mistake there, new Account should be new Task, thanks so much for asking :+1: I corrected it in my code above

gr2m avatar Nov 27 '15 21:11 gr2m

hoodie.task API is out of scope for upcoming Hoodie Tent release

gr2m avatar Jan 07 '16 14:01 gr2m