{"action":"created","issue":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/968","labels_url":"https://api.github.com/repos/xetorthio/jedis/issues/968/labels{/name}","comments_url":"https://api.github.com/repos/xetorthio/jedis/issues/968/comments","events_url":"https://api.github.com/repos/xetorthio/jedis/issues/968/events","html_url":"https://github.com/xetorthio/jedis/issues/968","id":71961211,"number":968,"title":"How to know when scan() is done?","user":{"login":"veselov","id":2555513,"avatar_url":"https://avatars.githubusercontent.com/u/2555513?v=3","gravatar_id":"","url":"https://api.github.com/users/veselov","html_url":"https://github.com/veselov","followers_url":"https://api.github.com/users/veselov/followers","following_url":"https://api.github.com/users/veselov/following{/other_user}","gists_url":"https://api.github.com/users/veselov/gists{/gist_id}","starred_url":"https://api.github.com/users/veselov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veselov/subscriptions","organizations_url":"https://api.github.com/users/veselov/orgs","repos_url":"https://api.github.com/users/veselov/repos","events_url":"https://api.github.com/users/veselov/events{/privacy}","received_events_url":"https://api.github.com/users/veselov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-29T19:09:55Z","updated_at":"2015-05-06T22:34:07Z","closed_at":null,"body":"Hi.\r\n\r\nFrom implementation, and Redis docs, it looks like that to know if scan() is finished, one needs to compare the latest cursor to literal `0`, right?\r\n\r\nIf so, may be ScanResult can have a isLast() method that would do that?"},"comment":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/comments/99630959","html_url":"https://github.com/xetorthio/jedis/issues/968#issuecomment-99630959","issue_url":"https://api.github.com/repos/xetorthio/jedis/issues/968","id":99630959,"user":{"login":"HeartSaVioR","id":1317309,"avatar_url":"https://avatars.githubusercontent.com/u/1317309?v=3","gravatar_id":"","url":"https://api.github.com/users/HeartSaVioR","html_url":"https://github.com/HeartSaVioR","followers_url":"https://api.github.com/users/HeartSaVioR/followers","following_url":"https://api.github.com/users/HeartSaVioR/following{/other_user}","gists_url":"https://api.github.com/users/HeartSaVioR/gists{/gist_id}","starred_url":"https://api.github.com/users/HeartSaVioR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeartSaVioR/subscriptions","organizations_url":"https://api.github.com/users/HeartSaVioR/orgs","repos_url":"https://api.github.com/users/HeartSaVioR/repos","events_url":"https://api.github.com/users/HeartSaVioR/events{/privacy}","received_events_url":"https://api.github.com/users/HeartSaVioR/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T22:34:07Z","updated_at":"2015-05-06T22:34:07Z","body":"http://redis.io/commands/ttl\r\nYou can see that return values are changed once. (Added -2)\r\nI don't think it shouldn't be occurred again, but who knows."}}