{"action":"created","issue":{"url":"https://api.github.com/repos/aol/cyclops/issues/145","labels_url":"https://api.github.com/repos/aol/cyclops/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/aol/cyclops/issues/145/comments","events_url":"https://api.github.com/repos/aol/cyclops/issues/145/events","html_url":"https://github.com/aol/cyclops/issues/145","id":126404340,"number":145,"title":"cyclops-streams [reactive-streams] : forEachX, forEachXWithError / forEachXEvents operators","user":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aol/cyclops/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aol/cyclops/milestones/18","html_url":"https://github.com/aol/cyclops/milestones/7.2.0","labels_url":"https://api.github.com/repos/aol/cyclops/milestones/18/labels","id":1478072,"number":18,"title":"7.2.0","description":null,"creator":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2015-12-30T11:59:49Z","updated_at":"2016-01-13T18:19:23Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-13T12:04:09Z","updated_at":"2016-01-13T18:19:24Z","closed_at":"2016-01-13T18:19:23Z","body":"forEachX - start consuming the first X elements of a Stream, leave the remaining elements to be processed later - triggered via the returned reactive-streams subscription.\r\n\r\n```java\r\n<X extends Throwable> Subscription forEachX(long numberOfElements);\r\n\r\nSubscription sub = SequenceM.of(1,2,3).forEachX(2,System.out::println);\r\n\r\n//prints\r\n1\r\n2\r\n\r\nsub.request(1);\r\n\r\n//prints \r\n3\r\n\r\n```\r\n\r\nforEachXWithError is similar with error handling and forEachXEvents adds an onComplete event\r\n\r\nSee https://github.com/aol/cyclops/issues/144"},"comment":{"url":"https://api.github.com/repos/aol/cyclops/issues/comments/171386539","html_url":"https://github.com/aol/cyclops/issues/145#issuecomment-171386539","issue_url":"https://api.github.com/repos/aol/cyclops/issues/145","id":171386539,"user":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T18:19:23Z","updated_at":"2016-01-13T18:19:23Z","body":"merged to master"}}