Add option for save
I'm just working on a feature that provides auto-save capabilities and it'd be really nice to use backbone-poller to achieve this.
My thinking is the API could be:
this.poller = Poller.get(this.model, {method: 'save'});
With method defaulting to fetch.
Sure. It's not s poller per-se at that point, but i can't see reason why not
I do agree, it was something that went through my head as I wrote Poller.get - it doesn't suggest that POST/PUT operations will occur
Poller.get is more of a singleton getInstance rather than HTTP GET, but in general, polling should have no side affect. in anywise, leave semantics aside, if you could add this to the code that'd be great