hoodiehq / hoodie-task-client

client api for asynchronous task queue, using PouchDB for sync
Apache License 2.0
2 stars 9 forks source link

Match Constructor API of pouchdb-hoodie-store #2

Closed gr2m closed 9 years ago

gr2m commented 9 years ago

the current TaskQueue constructor only accepts an id, the URL is hardcoded. Which makes it much less flexible. I think it would be a good idea to match the API of the Store constructor here: https://github.com/hoodiehq/pouchdb-hoodie-store#api

We should enforce options.remote or remoteBaseUrl being set, as tasks don't make sense without a backend counterpart