Request syncronization and store functionalities

44 views
Skip to first unread message

ffreshblood

unread,
Apr 25, 2012, 9:14:38 PM4/25/12
to Amplify

Firstly amplify.store has no remove or clear method so i can not
remove any data from store. How could i remove a key(data) from
store ?

Secondly amplify.request has ability force request syncronization ?
Asynchronous ajax requests are not guarented to finish ordered.
Amplify has a feature for make ajax requests ordered ?

Scott González

unread,
Apr 25, 2012, 9:50:42 PM4/25/12
to ampl...@googlegroups.com
On Wed, Apr 25, 2012 at 9:14 PM, ffreshblood <yaku...@gmail.com> wrote:
Firstly amplify.store has no remove or clear method so i can not
remove any data from store. How could i remove a key(data) from
store ?

As mentioned in the docs, amplify.store( key, null ) will remove a value.
 
Secondly amplify.request has ability force request syncronization ?
Asynchronous ajax requests are not guarented to finish ordered.
Amplify has a feature for make ajax requests ordered ?

No. Requests complete whenever they complete. Each request is completely independent.
Reply all
Reply to author
Forward
0 new messages