{"action":"created","issue":{"url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/63","repository_url":"https://api.github.com/repos/googleapis/gax-nodejs","labels_url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/63/comments","events_url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/63/events","html_url":"https://github.com/googleapis/gax-nodejs/pull/63","id":186874875,"number":63,"title":"Refine page streaming","user":{"login":"jmuk","id":816093,"avatar_url":"https://avatars.githubusercontent.com/u/816093?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuk","html_url":"https://github.com/jmuk","followers_url":"https://api.github.com/users/jmuk/followers","following_url":"https://api.github.com/users/jmuk/following{/other_user}","gists_url":"https://api.github.com/users/jmuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuk/subscriptions","organizations_url":"https://api.github.com/users/jmuk/orgs","repos_url":"https://api.github.com/users/jmuk/repos","events_url":"https://api.github.com/users/jmuk/events{/privacy}","received_events_url":"https://api.github.com/users/jmuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"landrito","id":8572251,"avatar_url":"https://avatars.githubusercontent.com/u/8572251?v=3","gravatar_id":"","url":"https://api.github.com/users/landrito","html_url":"https://github.com/landrito","followers_url":"https://api.github.com/users/landrito/followers","following_url":"https://api.github.com/users/landrito/following{/other_user}","gists_url":"https://api.github.com/users/landrito/gists{/gist_id}","starred_url":"https://api.github.com/users/landrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landrito/subscriptions","organizations_url":"https://api.github.com/users/landrito/orgs","repos_url":"https://api.github.com/users/landrito/repos","events_url":"https://api.github.com/users/landrito/events{/privacy}","received_events_url":"https://api.github.com/users/landrito/received_events","type":"User","site_admin":false},"assignees":[{"login":"landrito","id":8572251,"avatar_url":"https://avatars.githubusercontent.com/u/8572251?v=3","gravatar_id":"","url":"https://api.github.com/users/landrito","html_url":"https://github.com/landrito","followers_url":"https://api.github.com/users/landrito/followers","following_url":"https://api.github.com/users/landrito/following{/other_user}","gists_url":"https://api.github.com/users/landrito/gists{/gist_id}","starred_url":"https://api.github.com/users/landrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landrito/subscriptions","organizations_url":"https://api.github.com/users/landrito/orgs","repos_url":"https://api.github.com/users/landrito/repos","events_url":"https://api.github.com/users/landrito/events{/privacy}","received_events_url":"https://api.github.com/users/landrito/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-11-02T17:55:31Z","updated_at":"2016-11-08T22:07:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/googleapis/gax-nodejs/pulls/63","html_url":"https://github.com/googleapis/gax-nodejs/pull/63","diff_url":"https://github.com/googleapis/gax-nodejs/pull/63.diff","patch_url":"https://github.com/googleapis/gax-nodejs/pull/63.patch"},"body":"fixes #60"},"comment":{"url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/comments/259274655","html_url":"https://github.com/googleapis/gax-nodejs/pull/63#issuecomment-259274655","issue_url":"https://api.github.com/repos/googleapis/gax-nodejs/issues/63","id":259274655,"user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T22:07:00Z","updated_at":"2016-11-08T22:07:00Z","body":"In other words, to modify your example:\r\n\r\n```diff\r\nvar opts = { autoPaginate: false };\r\nvar request = { pageSize: 2, filter: 'name=\"my-name\"' };\r\n\r\nfunction callback(err, elements, nextQuery, rawResponse) {\r\n  if (nextQuery) {\r\n    // nextQuery = { pageSize: 2, filter: 'name=\"my-name\"', pageToken: '...' }\r\n    api.method(nextQuery, opts, callback);\r\n  }\r\n}\r\n\r\napi.method(request, opts, callback);\r\n```"}}
{"actor":{"display_login":"stephenplusplus"}}