{"action":"opened","number":82,"pull_request":{"url":"https://api.github.com/repos/reactor/reactor-core/pulls/82","id":69325914,"html_url":"https://github.com/reactor/reactor-core/pull/82","diff_url":"https://github.com/reactor/reactor-core/pull/82.diff","patch_url":"https://github.com/reactor/reactor-core/pull/82.patch","issue_url":"https://api.github.com/repos/reactor/reactor-core/issues/82","number":82,"state":"open","locked":false,"title":"Proposal: FluxEmitter","user":{"login":"akarnokd","id":1269832,"avatar_url":"https://avatars.githubusercontent.com/u/1269832?v=3","gravatar_id":"","url":"https://api.github.com/users/akarnokd","html_url":"https://github.com/akarnokd","followers_url":"https://api.github.com/users/akarnokd/followers","following_url":"https://api.github.com/users/akarnokd/following{/other_user}","gists_url":"https://api.github.com/users/akarnokd/gists{/gist_id}","starred_url":"https://api.github.com/users/akarnokd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarnokd/subscriptions","organizations_url":"https://api.github.com/users/akarnokd/orgs","repos_url":"https://api.github.com/users/akarnokd/repos","events_url":"https://api.github.com/users/akarnokd/events{/privacy}","received_events_url":"https://api.github.com/users/akarnokd/received_events","type":"User","site_admin":false},"body":"This PR proposes a multi-valued emitter API for Flux with resource handling and backpressure control.\r\n\r\nExample use case:\r\n\r\n```java\r\nFlux.&lt;String&gt;createEmitter(emitter -&gt; {\r\n    // setup backpressure mode, default is BUFFER\r\n\r\n    emitter.setBackpressureHandling(FluxEmitter.BackpressureHandling.LATEST);\r\n\r\n    ActionListener al = e -&gt; {\r\n         emitter.next(textField.getText());\r\n     };\r\n\r\n     // without cancellation support:\r\n     \r\n     button.addActionListener(al);\r\n\r\n     // with cancellation support:\r\n     \r\n     button.addActionListener(al);\r\n     emitter.setCancellation(() -> {\r\n         button.removeListener(al);\r\n     });\r\n}); \r\n```","created_at":"2016-05-09T10:40:04Z","updated_at":"2016-05-09T10:40:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reactor/reactor-core/pulls/82/commits","review_comments_url":"https://api.github.com/repos/reactor/reactor-core/pulls/82/comments","review_comment_url":"https://api.github.com/repos/reactor/reactor-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reactor/reactor-core/issues/82/comments","statuses_url":"https://api.github.com/repos/reactor/reactor-core/statuses/daa6e563deeb3012ae3fe9602a14eb8b6f2e6325","head":{"label":"akarnokd:FluxEmitter","ref":"FluxEmitter","sha":"daa6e563deeb3012ae3fe9602a14eb8b6f2e6325","user":{"login":"akarnokd","id":1269832,"avatar_url":"https://avatars.githubusercontent.com/u/1269832?v=3","gravatar_id":"","url":"https://api.github.com/users/akarnokd","html_url":"https://github.com/akarnokd","followers_url":"https://api.github.com/users/akarnokd/followers","following_url":"https://api.github.com/users/akarnokd/following{/other_user}","gists_url":"https://api.github.com/users/akarnokd/gists{/gist_id}","starred_url":"https://api.github.com/users/akarnokd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarnokd/subscriptions","organizations_url":"https://api.github.com/users/akarnokd/orgs","repos_url":"https://api.github.com/users/akarnokd/repos","events_url":"https://api.github.com/users/akarnokd/events{/privacy}","received_events_url":"https://api.github.com/users/akarnokd/received_events","type":"User","site_admin":false},"repo":{"id":53452183,"name":"reactor-core","full_name":"akarnokd/reactor-core","owner":{"login":"akarnokd","id":1269832,"avatar_url":"https://avatars.githubusercontent.com/u/1269832?v=3","gravatar_id":"","url":"https://api.github.com/users/akarnokd","html_url":"https://github.com/akarnokd","followers_url":"https://api.github.com/users/akarnokd/followers","following_url":"https://api.github.com/users/akarnokd/following{/other_user}","gists_url":"https://api.github.com/users/akarnokd/gists{/gist_id}","starred_url":"https://api.github.com/users/akarnokd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarnokd/subscriptions","organizations_url":"https://api.github.com/users/akarnokd/orgs","repos_url":"https://api.github.com/users/akarnokd/repos","events_url":"https://api.github.com/users/akarnokd/events{/privacy}","received_events_url":"https://api.github.com/users/akarnokd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akarnokd/reactor-core","description":"Non-Blocking Reactive Foundation for the JVM","fork":true,"url":"https://api.github.com/repos/akarnokd/reactor-core","forks_url":"https://api.github.com/repos/akarnokd/reactor-core/forks","keys_url":"https://api.github.com/repos/akarnokd/reactor-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akarnokd/reactor-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akarnokd/reactor-core/teams","hooks_url":"https://api.github.com/repos/akarnokd/reactor-core/hooks","issue_events_url":"https://api.github.com/repos/akarnokd/reactor-core/issues/events{/number}","events_url":"https://api.github.com/repos/akarnokd/reactor-core/events","assignees_url":"https://api.github.com/repos/akarnokd/reactor-core/assignees{/user}","branches_url":"https://api.github.com/repos/akarnokd/reactor-core/branches{/branch}","tags_url":"https://api.github.com/repos/akarnokd/reactor-core/tags","blobs_url":"https://api.github.com/repos/akarnokd/reactor-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akarnokd/reactor-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akarnokd/reactor-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/akarnokd/reactor-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akarnokd/reactor-core/statuses/{sha}","languages_url":"https://api.github.com/repos/akarnokd/reactor-core/languages","stargazers_url":"https://api.github.com/repos/akarnokd/reactor-core/stargazers","contributors_url":"https://api.github.com/repos/akarnokd/reactor-core/contributors","subscribers_url":"https://api.github.com/repos/akarnokd/reactor-core/subscribers","subscription_url":"https://api.github.com/repos/akarnokd/reactor-core/subscription","commits_url":"https://api.github.com/repos/akarnokd/reactor-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/akarnokd/reactor-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/akarnokd/reactor-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/akarnokd/reactor-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/akarnokd/reactor-core/contents/{+path}","compare_url":"https://api.github.com/repos/akarnokd/reactor-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akarnokd/reactor-core/merges","archive_url":"https://api.github.com/repos/akarnokd/reactor-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akarnokd/reactor-core/downloads","issues_url":"https://api.github.com/repos/akarnokd/reactor-core/issues{/number}","pulls_url":"https://api.github.com/repos/akarnokd/reactor-core/pulls{/number}","milestones_url":"https://api.github.com/repos/akarnokd/reactor-core/milestones{/number}","notifications_url":"https://api.github.com/repos/akarnokd/reactor-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akarnokd/reactor-core/labels{/name}","releases_url":"https://api.github.com/repos/akarnokd/reactor-core/releases{/id}","deployments_url":"https://api.github.com/repos/akarnokd/reactor-core/deployments","created_at":"2016-03-08T23:17:05Z","updated_at":"2016-03-08T23:17:07Z","pushed_at":"2016-05-09T10:38:23Z","git_url":"git://github.com/akarnokd/reactor-core.git","ssh_url":"git@github.com:akarnokd/reactor-core.git","clone_url":"https://github.com/akarnokd/reactor-core.git","svn_url":"https://github.com/akarnokd/reactor-core","homepage":"http://projectreactor.io","size":10590,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reactor:master","ref":"master","sha":"fa600b7042daf7efe80a6f5cbbb54e940dc1371d","user":{"login":"reactor","id":4201559,"avatar_url":"https://avatars.githubusercontent.com/u/4201559?v=3","gravatar_id":"","url":"https://api.github.com/users/reactor","html_url":"https://github.com/reactor","followers_url":"https://api.github.com/users/reactor/followers","following_url":"https://api.github.com/users/reactor/following{/other_user}","gists_url":"https://api.github.com/users/reactor/gists{/gist_id}","starred_url":"https://api.github.com/users/reactor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactor/subscriptions","organizations_url":"https://api.github.com/users/reactor/orgs","repos_url":"https://api.github.com/users/reactor/repos","events_url":"https://api.github.com/users/reactor/events{/privacy}","received_events_url":"https://api.github.com/users/reactor/received_events","type":"Organization","site_admin":false},"repo":{"id":45903621,"name":"reactor-core","full_name":"reactor/reactor-core","owner":{"login":"reactor","id":4201559,"avatar_url":"https://avatars.githubusercontent.com/u/4201559?v=3","gravatar_id":"","url":"https://api.github.com/users/reactor","html_url":"https://github.com/reactor","followers_url":"https://api.github.com/users/reactor/followers","following_url":"https://api.github.com/users/reactor/following{/other_user}","gists_url":"https://api.github.com/users/reactor/gists{/gist_id}","starred_url":"https://api.github.com/users/reactor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactor/subscriptions","organizations_url":"https://api.github.com/users/reactor/orgs","repos_url":"https://api.github.com/users/reactor/repos","events_url":"https://api.github.com/users/reactor/events{/privacy}","received_events_url":"https://api.github.com/users/reactor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reactor/reactor-core","description":"Non-Blocking Reactive Foundation for the JVM","fork":false,"url":"https://api.github.com/repos/reactor/reactor-core","forks_url":"https://api.github.com/repos/reactor/reactor-core/forks","keys_url":"https://api.github.com/repos/reactor/reactor-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactor/reactor-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactor/reactor-core/teams","hooks_url":"https://api.github.com/repos/reactor/reactor-core/hooks","issue_events_url":"https://api.github.com/repos/reactor/reactor-core/issues/events{/number}","events_url":"https://api.github.com/repos/reactor/reactor-core/events","assignees_url":"https://api.github.com/repos/reactor/reactor-core/assignees{/user}","branches_url":"https://api.github.com/repos/reactor/reactor-core/branches{/branch}","tags_url":"https://api.github.com/repos/reactor/reactor-core/tags","blobs_url":"https://api.github.com/repos/reactor/reactor-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactor/reactor-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactor/reactor-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactor/reactor-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactor/reactor-core/statuses/{sha}","languages_url":"https://api.github.com/repos/reactor/reactor-core/languages","stargazers_url":"https://api.github.com/repos/reactor/reactor-core/stargazers","contributors_url":"https://api.github.com/repos/reactor/reactor-core/contributors","subscribers_url":"https://api.github.com/repos/reactor/reactor-core/subscribers","subscription_url":"https://api.github.com/repos/reactor/reactor-core/subscription","commits_url":"https://api.github.com/repos/reactor/reactor-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactor/reactor-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactor/reactor-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactor/reactor-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactor/reactor-core/contents/{+path}","compare_url":"https://api.github.com/repos/reactor/reactor-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactor/reactor-core/merges","archive_url":"https://api.github.com/repos/reactor/reactor-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactor/reactor-core/downloads","issues_url":"https://api.github.com/repos/reactor/reactor-core/issues{/number}","pulls_url":"https://api.github.com/repos/reactor/reactor-core/pulls{/number}","milestones_url":"https://api.github.com/repos/reactor/reactor-core/milestones{/number}","notifications_url":"https://api.github.com/repos/reactor/reactor-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactor/reactor-core/labels{/name}","releases_url":"https://api.github.com/repos/reactor/reactor-core/releases{/id}","deployments_url":"https://api.github.com/repos/reactor/reactor-core/deployments","created_at":"2015-11-10T10:06:40Z","updated_at":"2016-05-08T01:40:03Z","pushed_at":"2016-05-09T10:29:11Z","git_url":"git://github.com/reactor/reactor-core.git","ssh_url":"git@github.com:reactor/reactor-core.git","clone_url":"https://github.com/reactor/reactor-core.git","svn_url":"https://github.com/reactor/reactor-core","homepage":"http://projectreactor.io","size":10689,"stargazers_count":118,"watchers_count":118,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":14,"forks":18,"open_issues":14,"watchers":118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reactor/reactor-core/pulls/82"},"html":{"href":"https://github.com/reactor/reactor-core/pull/82"},"issue":{"href":"https://api.github.com/repos/reactor/reactor-core/issues/82"},"comments":{"href":"https://api.github.com/repos/reactor/reactor-core/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/reactor/reactor-core/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/reactor/reactor-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reactor/reactor-core/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/reactor/reactor-core/statuses/daa6e563deeb3012ae3fe9602a14eb8b6f2e6325"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":547,"deletions":0,"changed_files":3}}