Returning future on HipsterCollection.fetch #3

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

amiuhle commented Jul 5, 2012

No description provided.

Owner

eee-c commented Jul 30, 2012

Ah, you're right, of course. The fetch() method would be silly without returning a future. But again, this need to run through HipsterSync, which does return a future.

I believe that, if you switch to something after_call = HipsterSync.call('read', this);, then you ought to be able to achieve the same results. That is after_call.then .... and then return after_call. If you have time, please give it a try. Otherwise I'll add it in there in a bit.

Thanks again for the PRs. Sorry about the ridiculous delay.

@eee-c eee-c closed this in ed31db5 Sep 1, 2013

@amiuhle amiuhle deleted the amiuhle:collection-fetch-future branch Sep 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment