superfeedr/indexeddb-backbonejs-adapter

Synchronous collection.fetch() ?

Closed this issue · 2 comments

When using ajax sync, I can pass {async:false} ajax parameters to achieve synchronous fetch. Is there a way in this adapter to have collection.fetch() block untill the collection is fetched ?

It might help if sync returned a promise as suggested in this ticket: #23

@andornaut Hey my js skills are amateur. Mind explaining how do I go about it using the promise object?