ember-buffered-array-proxy

An Ember Array Proxy (and mixin) the enables change buffering. Ever need to "hold back" array changes before they propagate? If so this may be the project for you.
This project follows similar API structure as ember-buffered-proxy.
Usage
ember install ember-buffered-array-proxy
import BufferedArrayProxy from 'ember-buffered-array-proxy/proxy';
const content = [ 'A' ];
const buffer = BufferedArrayProxy.create({ content });
buffer.get('firstObject');
buffer.addObject('B');
buffer.objectAt(1);
buffer.toArray();
buffer.get('hasChanges');
buffer.get('changes');
buffer.applyBufferedChanges();
buffer.toArray();
content.toArray();
buffer.get('hasChanges');
buffer.removeObject('A');
buffer.get('changes');
buffer.hasChanged();
buffer.discardBufferedChanges();
buffer.toArray();
content.toArray();
buffer.hasChanged();
You can also use these shorter method names
buffer.discardChanges();
buffer.applyChanges();
Or you can grab the mixin directly
import BufferedArrayMixin from 'ember-buffered-array-proxy/mixin';
const content = ['A']
const buffer = ArrayProxy.extend(BufferedArrayMixin).create({ content });