{"action":"opened","issue":{"url":"https://api.github.com/repos/Reactive-Extensions/RxCpp/issues/432","repository_url":"https://api.github.com/repos/Reactive-Extensions/RxCpp","labels_url":"https://api.github.com/repos/Reactive-Extensions/RxCpp/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/Reactive-Extensions/RxCpp/issues/432/comments","events_url":"https://api.github.com/repos/Reactive-Extensions/RxCpp/issues/432/events","html_url":"https://github.com/Reactive-Extensions/RxCpp/issues/432","id":297985691,"number":432,"title":"Zip on an Interval and From with Repeat hangs","user":{"login":"djleach-belcan","id":26262009,"avatar_url":"https://avatars3.githubusercontent.com/u/26262009?v=4","gravatar_id":"","url":"https://api.github.com/users/djleach-belcan","html_url":"https://github.com/djleach-belcan","followers_url":"https://api.github.com/users/djleach-belcan/followers","following_url":"https://api.github.com/users/djleach-belcan/following{/other_user}","gists_url":"https://api.github.com/users/djleach-belcan/gists{/gist_id}","starred_url":"https://api.github.com/users/djleach-belcan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djleach-belcan/subscriptions","organizations_url":"https://api.github.com/users/djleach-belcan/orgs","repos_url":"https://api.github.com/users/djleach-belcan/repos","events_url":"https://api.github.com/users/djleach-belcan/events{/privacy}","received_events_url":"https://api.github.com/users/djleach-belcan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T07:10:31Z","updated_at":"2018-02-17T07:10:31Z","closed_at":null,"author_association":"NONE","body":"I expected the code below to print the following with a 100ms delay between lines:\r\n\r\n    Value: 1\r\n    Value: 2\r\n    Value: 1\r\n    Value: 2\r\n\r\nInstead it just hangs. Am I missing something or is this a bug?\r\n\r\n````\r\nauto interval = rxcpp::observable<>::interval(std::chrono::steady_clock::now(), 100ms);\r\nauto source = rxcpp::observable<>::from(1, 2) | rxcpp::repeat();\r\ninterval\r\n\t| rxcpp::zip([](auto&&, auto&& source)\r\n\t\t{\r\n\t\t\treturn source;\r\n\t\t}, source)\r\n\t| rxcpp::take(4)\r\n\t| rxcpp::subscribe<int>([&](auto&& value)\r\n\t\t{\r\n\t\t\tstd::cerr << \"Value: \" << value << std::endl;\r\n\t\t});\r\n````"}}
{"actor":{"display_login":"djleach-belcan"}}