Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-113

Refactor batch fetching

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • api, store
    • None

    Description

      At the moment we have to methods to fetch MessageResults. One which work with a callback to support fetching in batches and one which just return an Iterator and use no batching at all. This kind of callback API is kind of a "hack". It would be much nice to just have one method and support the batch fetching via a special Iterator implementation. This would allow us to have a cleaner API and still honor the Iterator contract

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: