{"action":"created","comment":{"url":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments/217439823","pull_request_review_id":155152162,"id":217439823,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzQzOTgyMw==","diff_hunk":"@@ -44,9 +44,36 @@ On further review, it was determined that Collection was a special case of Objec\n \n Notification can safely be done asynchronously (including delaying it through a queue) but Modification by nature involve passing data back to the caller and thus must be synchronous.  Despite that difference the Working Group determined that the use cases were close enough to be considered in a single PSR.  The two different workflows however are represented by two different interfaces, `MessageNotifierInterface` (for Messages) and `TaskProcessorInterface` (for Tasks).\n \n-### 4.2 Immutable events\n+### 4.2 Intended use cases\n \n-Initially the Working Group wished to define all Events as immutable message objects, similar to PSR-7.  However, that proved problematic in the Processor case.  In both of those cases Listeners needed a way to return data to the caller.  In concept there were three possible avenues:\n+Despite their similarities, the Message and Task pipelines have two distinct workflows and use cases.\n+\n+| Messages                      | Tasks\n+|-------------------------------|-------------------------------\n+| Must be immutable             | May me mutable\n+| Must be serializable          | May be serializable\n+| May be delayed                | Must be processed immediately","path":"proposed/event-dispatcher-meta.md","position":14,"original_position":14,"commit_id":"eaee4e0cb355786cfba3f72db2166917b41a90e3","original_commit_id":"eaee4e0cb355786cfba3f72db2166917b41a90e3","user":{"login":"Crell","id":254863,"node_id":"MDQ6VXNlcjI1NDg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/254863?v=4","gravatar_id":"","url":"https://api.github.com/users/Crell","html_url":"https://github.com/Crell","followers_url":"https://api.github.com/users/Crell/followers","following_url":"https://api.github.com/users/Crell/following{/other_user}","gists_url":"https://api.github.com/users/Crell/gists{/gist_id}","starred_url":"https://api.github.com/users/Crell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crell/subscriptions","organizations_url":"https://api.github.com/users/Crell/orgs","repos_url":"https://api.github.com/users/Crell/repos","events_url":"https://api.github.com/users/Crell/events{/privacy}","received_events_url":"https://api.github.com/users/Crell/received_events","type":"User","site_admin":false},"body":"True; although in that case I would argue that the listener is processing the event by enqueuing the async action.\r\n\r\nPerhaps \"listeners must be called immediately\" (even if the listener then does something async)?","created_at":"2018-09-13T15:55:19Z","updated_at":"2018-09-13T15:55:20Z","html_url":"https://github.com/php-fig/fig-standards/pull/1070#discussion_r217439823","pull_request_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments/217439823"},"html":{"href":"https://github.com/php-fig/fig-standards/pull/1070#discussion_r217439823"},"pull_request":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070"}},"in_reply_to_id":217436039},"pull_request":{"url":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070","id":213725476,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNzI1NDc2","html_url":"https://github.com/php-fig/fig-standards/pull/1070","diff_url":"https://github.com/php-fig/fig-standards/pull/1070.diff","patch_url":"https://github.com/php-fig/fig-standards/pull/1070.patch","issue_url":"https://api.github.com/repos/php-fig/fig-standards/issues/1070","number":1070,"state":"open","locked":false,"title":"Provide guidance on when to use Messages vs Tasks","user":{"login":"Crell","id":254863,"node_id":"MDQ6VXNlcjI1NDg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/254863?v=4","gravatar_id":"","url":"https://api.github.com/users/Crell","html_url":"https://github.com/Crell","followers_url":"https://api.github.com/users/Crell/followers","following_url":"https://api.github.com/users/Crell/following{/other_user}","gists_url":"https://api.github.com/users/Crell/gists{/gist_id}","starred_url":"https://api.github.com/users/Crell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crell/subscriptions","organizations_url":"https://api.github.com/users/Crell/orgs","repos_url":"https://api.github.com/users/Crell/repos","events_url":"https://api.github.com/users/Crell/events{/privacy}","received_events_url":"https://api.github.com/users/Crell/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-06T19:29:49Z","updated_at":"2018-09-13T15:55:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef385aad54df0513277acfbcedd068735e6e94fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":405451293,"node_id":"MDU6TGFiZWw0MDU0NTEyOTM=","url":"https://api.github.com/repos/php-fig/fig-standards/labels/PSR-14:%20Events","name":"PSR-14: Events","color":"bfdadc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070/commits","review_comments_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070/comments","review_comment_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/issues/1070/comments","statuses_url":"https://api.github.com/repos/php-fig/fig-standards/statuses/eaee4e0cb355786cfba3f72db2166917b41a90e3","head":{"label":"Crell:psr-14-distinctions","ref":"psr-14-distinctions","sha":"eaee4e0cb355786cfba3f72db2166917b41a90e3","user":{"login":"Crell","id":254863,"node_id":"MDQ6VXNlcjI1NDg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/254863?v=4","gravatar_id":"","url":"https://api.github.com/users/Crell","html_url":"https://github.com/Crell","followers_url":"https://api.github.com/users/Crell/followers","following_url":"https://api.github.com/users/Crell/following{/other_user}","gists_url":"https://api.github.com/users/Crell/gists{/gist_id}","starred_url":"https://api.github.com/users/Crell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crell/subscriptions","organizations_url":"https://api.github.com/users/Crell/orgs","repos_url":"https://api.github.com/users/Crell/repos","events_url":"https://api.github.com/users/Crell/events{/privacy}","received_events_url":"https://api.github.com/users/Crell/received_events","type":"User","site_admin":false},"repo":{"id":8766880,"node_id":"MDEwOlJlcG9zaXRvcnk4NzY2ODgw","name":"fig-standards","full_name":"Crell/fig-standards","owner":{"login":"Crell","id":254863,"node_id":"MDQ6VXNlcjI1NDg2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/254863?v=4","gravatar_id":"","url":"https://api.github.com/users/Crell","html_url":"https://github.com/Crell","followers_url":"https://api.github.com/users/Crell/followers","following_url":"https://api.github.com/users/Crell/following{/other_user}","gists_url":"https://api.github.com/users/Crell/gists{/gist_id}","starred_url":"https://api.github.com/users/Crell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crell/subscriptions","organizations_url":"https://api.github.com/users/Crell/orgs","repos_url":"https://api.github.com/users/Crell/repos","events_url":"https://api.github.com/users/Crell/events{/privacy}","received_events_url":"https://api.github.com/users/Crell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Crell/fig-standards","description":"Standards either proposed or approved by the Framework Interop Group","fork":true,"url":"https://api.github.com/repos/Crell/fig-standards","forks_url":"https://api.github.com/repos/Crell/fig-standards/forks","keys_url":"https://api.github.com/repos/Crell/fig-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Crell/fig-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Crell/fig-standards/teams","hooks_url":"https://api.github.com/repos/Crell/fig-standards/hooks","issue_events_url":"https://api.github.com/repos/Crell/fig-standards/issues/events{/number}","events_url":"https://api.github.com/repos/Crell/fig-standards/events","assignees_url":"https://api.github.com/repos/Crell/fig-standards/assignees{/user}","branches_url":"https://api.github.com/repos/Crell/fig-standards/branches{/branch}","tags_url":"https://api.github.com/repos/Crell/fig-standards/tags","blobs_url":"https://api.github.com/repos/Crell/fig-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Crell/fig-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Crell/fig-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Crell/fig-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Crell/fig-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/Crell/fig-standards/languages","stargazers_url":"https://api.github.com/repos/Crell/fig-standards/stargazers","contributors_url":"https://api.github.com/repos/Crell/fig-standards/contributors","subscribers_url":"https://api.github.com/repos/Crell/fig-standards/subscribers","subscription_url":"https://api.github.com/repos/Crell/fig-standards/subscription","commits_url":"https://api.github.com/repos/Crell/fig-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Crell/fig-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Crell/fig-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Crell/fig-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Crell/fig-standards/contents/{+path}","compare_url":"https://api.github.com/repos/Crell/fig-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Crell/fig-standards/merges","archive_url":"https://api.github.com/repos/Crell/fig-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Crell/fig-standards/downloads","issues_url":"https://api.github.com/repos/Crell/fig-standards/issues{/number}","pulls_url":"https://api.github.com/repos/Crell/fig-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/Crell/fig-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/Crell/fig-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Crell/fig-standards/labels{/name}","releases_url":"https://api.github.com/repos/Crell/fig-standards/releases{/id}","deployments_url":"https://api.github.com/repos/Crell/fig-standards/deployments","created_at":"2013-03-14T03:02:28Z","updated_at":"2016-12-22T20:44:35Z","pushed_at":"2018-09-11T17:58:10Z","git_url":"git://github.com/Crell/fig-standards.git","ssh_url":"git@github.com:Crell/fig-standards.git","clone_url":"https://github.com/Crell/fig-standards.git","svn_url":"https://github.com/Crell/fig-standards","homepage":"http://www.php-fig.org/","size":2723,"stargazers_count":7,"watchers_count":7,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":0,"watchers":7,"default_branch":"psr-hug"}},"base":{"label":"php-fig:master","ref":"master","sha":"34722c6fa45d82cdfdc95b6b166d0b8c3ecaa300","user":{"login":"php-fig","id":468401,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2ODQwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/468401?v=4","gravatar_id":"","url":"https://api.github.com/users/php-fig","html_url":"https://github.com/php-fig","followers_url":"https://api.github.com/users/php-fig/followers","following_url":"https://api.github.com/users/php-fig/following{/other_user}","gists_url":"https://api.github.com/users/php-fig/gists{/gist_id}","starred_url":"https://api.github.com/users/php-fig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-fig/subscriptions","organizations_url":"https://api.github.com/users/php-fig/orgs","repos_url":"https://api.github.com/users/php-fig/repos","events_url":"https://api.github.com/users/php-fig/events{/privacy}","received_events_url":"https://api.github.com/users/php-fig/received_events","type":"Organization","site_admin":false},"repo":{"id":1053270,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUzMjcw","name":"fig-standards","full_name":"php-fig/fig-standards","owner":{"login":"php-fig","id":468401,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2ODQwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/468401?v=4","gravatar_id":"","url":"https://api.github.com/users/php-fig","html_url":"https://github.com/php-fig","followers_url":"https://api.github.com/users/php-fig/followers","following_url":"https://api.github.com/users/php-fig/following{/other_user}","gists_url":"https://api.github.com/users/php-fig/gists{/gist_id}","starred_url":"https://api.github.com/users/php-fig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-fig/subscriptions","organizations_url":"https://api.github.com/users/php-fig/orgs","repos_url":"https://api.github.com/users/php-fig/repos","events_url":"https://api.github.com/users/php-fig/events{/privacy}","received_events_url":"https://api.github.com/users/php-fig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-fig/fig-standards","description":"Standards either proposed or approved by the Framework Interop Group","fork":false,"url":"https://api.github.com/repos/php-fig/fig-standards","forks_url":"https://api.github.com/repos/php-fig/fig-standards/forks","keys_url":"https://api.github.com/repos/php-fig/fig-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-fig/fig-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-fig/fig-standards/teams","hooks_url":"https://api.github.com/repos/php-fig/fig-standards/hooks","issue_events_url":"https://api.github.com/repos/php-fig/fig-standards/issues/events{/number}","events_url":"https://api.github.com/repos/php-fig/fig-standards/events","assignees_url":"https://api.github.com/repos/php-fig/fig-standards/assignees{/user}","branches_url":"https://api.github.com/repos/php-fig/fig-standards/branches{/branch}","tags_url":"https://api.github.com/repos/php-fig/fig-standards/tags","blobs_url":"https://api.github.com/repos/php-fig/fig-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-fig/fig-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-fig/fig-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-fig/fig-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-fig/fig-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/php-fig/fig-standards/languages","stargazers_url":"https://api.github.com/repos/php-fig/fig-standards/stargazers","contributors_url":"https://api.github.com/repos/php-fig/fig-standards/contributors","subscribers_url":"https://api.github.com/repos/php-fig/fig-standards/subscribers","subscription_url":"https://api.github.com/repos/php-fig/fig-standards/subscription","commits_url":"https://api.github.com/repos/php-fig/fig-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-fig/fig-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-fig/fig-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-fig/fig-standards/contents/{+path}","compare_url":"https://api.github.com/repos/php-fig/fig-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-fig/fig-standards/merges","archive_url":"https://api.github.com/repos/php-fig/fig-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-fig/fig-standards/downloads","issues_url":"https://api.github.com/repos/php-fig/fig-standards/issues{/number}","pulls_url":"https://api.github.com/repos/php-fig/fig-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/php-fig/fig-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/php-fig/fig-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-fig/fig-standards/labels{/name}","releases_url":"https://api.github.com/repos/php-fig/fig-standards/releases{/id}","deployments_url":"https://api.github.com/repos/php-fig/fig-standards/deployments","created_at":"2010-11-05T04:44:12Z","updated_at":"2018-09-13T14:09:41Z","pushed_at":"2018-09-13T09:33:36Z","git_url":"git://github.com/php-fig/fig-standards.git","ssh_url":"git@github.com:php-fig/fig-standards.git","clone_url":"https://github.com/php-fig/fig-standards.git","svn_url":"https://github.com/php-fig/fig-standards","homepage":"http://www.php-fig.org/","size":2702,"stargazers_count":10479,"watchers_count":10479,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2710,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2710,"open_issues":22,"watchers":10479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070"},"html":{"href":"https://github.com/php-fig/fig-standards/pull/1070"},"issue":{"href":"https://api.github.com/repos/php-fig/fig-standards/issues/1070"},"comments":{"href":"https://api.github.com/repos/php-fig/fig-standards/issues/1070/comments"},"review_comments":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070/comments"},"review_comment":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/1070/commits"},"statuses":{"href":"https://api.github.com/repos/php-fig/fig-standards/statuses/eaee4e0cb355786cfba3f72db2166917b41a90e3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Crell"}}