{"action":"created","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1314","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1314/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1314/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1314/events","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1314","id":114526395,"number":1314,"title":"redis blpop only returns the name of the key","user":{"login":"Shananra","id":605545,"avatar_url":"https://avatars.githubusercontent.com/u/605545?v=3","gravatar_id":"","url":"https://api.github.com/users/Shananra","html_url":"https://github.com/Shananra","followers_url":"https://api.github.com/users/Shananra/followers","following_url":"https://api.github.com/users/Shananra/following{/other_user}","gists_url":"https://api.github.com/users/Shananra/gists{/gist_id}","starred_url":"https://api.github.com/users/Shananra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shananra/subscriptions","organizations_url":"https://api.github.com/users/Shananra/orgs","repos_url":"https://api.github.com/users/Shananra/repos","events_url":"https://api.github.com/users/Shananra/events{/privacy}","received_events_url":"https://api.github.com/users/Shananra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T05:08:07Z","updated_at":"2015-12-30T13:21:29Z","closed_at":null,"body":"It seems blpop only wants to return the first value returned by the server. When I run this code\r\n\r\n    string reply = this.redis.getDatabase(0).blpop(\"LogShip\",0);\r\n    writeln(reply);\r\n\r\nI get \"LogShip\" in the terminal. But in redis-cli:\r\n\r\n    BLPOP LogShip 0\r\n    1) \"LogShip\"\r\n    2) \"testlog\"\r\n\r\nThe value I'm after is the second parameter returned. How would I go about retrieving that instead of the key name?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/comments/167998121","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1314#issuecomment-167998121","issue_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1314","id":167998121,"user":{"login":"yannick","id":2794,"avatar_url":"https://avatars.githubusercontent.com/u/2794?v=3","gravatar_id":"","url":"https://api.github.com/users/yannick","html_url":"https://github.com/yannick","followers_url":"https://api.github.com/users/yannick/followers","following_url":"https://api.github.com/users/yannick/following{/other_user}","gists_url":"https://api.github.com/users/yannick/gists{/gist_id}","starred_url":"https://api.github.com/users/yannick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannick/subscriptions","organizations_url":"https://api.github.com/users/yannick/orgs","repos_url":"https://api.github.com/users/yannick/repos","events_url":"https://api.github.com/users/yannick/events{/privacy}","received_events_url":"https://api.github.com/users/yannick/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T13:21:29Z","updated_at":"2015-12-30T13:21:29Z","body":"@Shananra \r\n```\r\nredis.getDatabase(0).blpop!(RedisReply!(string))(\"a\", 1);\r\n```\r\nthis returns a range where you get both.\r\n\r\nhttp://vibed.org/api/vibe.db.redis.redis/RedisReply\r\n"}}