{"action":"created","issue":{"url":"https://api.github.com/repos/square/tape/issues/72","labels_url":"https://api.github.com/repos/square/tape/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/square/tape/issues/72/comments","events_url":"https://api.github.com/repos/square/tape/issues/72/events","html_url":"https://github.com/square/tape/pull/72","id":56891562,"number":72,"title":"Pass element index to visitor.","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-07T01:41:06Z","updated_at":"2015-02-07T02:37:28Z","closed_at":"2015-02-07T02:15:50Z","pull_request":{"url":"https://api.github.com/repos/square/tape/pulls/72","html_url":"https://github.com/square/tape/pull/72","diff_url":"https://github.com/square/tape/pull/72.diff","patch_url":"https://github.com/square/tape/pull/72.patch"},"body":"@swankjesse @f2prateek "},"comment":{"url":"https://api.github.com/repos/square/tape/issues/comments/73346088","html_url":"https://github.com/square/tape/pull/72#issuecomment-73346088","issue_url":"https://api.github.com/repos/square/tape/issues/72","id":73346088,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T02:37:28Z","updated_at":"2015-02-07T02:37:28Z","body":"We could return objects which have the stream and the length, similar to\nTypedInput in Retrofit.\nOn Feb 6, 2015 6:25 PM, \"Prateek Srivastava\" <notifications@github.com>\nwrote:\n\n> For our very specific use case, we batch elements by size until we exceed\n> a specified amount of bytes. Avoiding reading the element until we choose\n> to would be beneficial.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/square/tape/pull/72#issuecomment-73345571>.\n>\n"}}