I''ve thought about it a little, but I''m not sure how it should
work. I
was thinking about something like
facebook_session.batch do |batch_session|
notify_result=batch_session.send_notification(...)
albums = bath.albums
end
The problem I see is that we need a way to give back a fake return
value, since we won''t have a real result until outside of the loop.
We''ll also need to handle errors during the load. I would consider
returning a dumb proxy object that delegates everything to another
object. I may prototype this one shortly, but to be honest, I don''t
think I''m going to use it.
Mike
On Jan 24, 2008, at 1:10 PM, BJ Clark wrote:
> Anyone started implementing the new Batch api method?
>
> BJ
> -----
> BJ Clark
> the science department
> bjclark at scidept.com
> www.scidept.com
>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com