{"action":"created","issue":{"url":"https://api.github.com/repos/guzzle/promises/issues/14","labels_url":"https://api.github.com/repos/guzzle/promises/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/promises/issues/14/comments","events_url":"https://api.github.com/repos/guzzle/promises/issues/14/events","html_url":"https://github.com/guzzle/promises/issues/14","id":118497558,"number":14,"title":"FulfilledPromise not invoking callbacks immediately","user":{"login":"mikegreiling","id":812328,"avatar_url":"https://avatars.githubusercontent.com/u/812328?v=3","gravatar_id":"","url":"https://api.github.com/users/mikegreiling","html_url":"https://github.com/mikegreiling","followers_url":"https://api.github.com/users/mikegreiling/followers","following_url":"https://api.github.com/users/mikegreiling/following{/other_user}","gists_url":"https://api.github.com/users/mikegreiling/gists{/gist_id}","starred_url":"https://api.github.com/users/mikegreiling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikegreiling/subscriptions","organizations_url":"https://api.github.com/users/mikegreiling/orgs","repos_url":"https://api.github.com/users/mikegreiling/repos","events_url":"https://api.github.com/users/mikegreiling/events{/privacy}","received_events_url":"https://api.github.com/users/mikegreiling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-23T23:26:47Z","updated_at":"2015-11-24T08:23:31Z","closed_at":null,"body":"The comments for FulfilledPromise indicate that any calls to `then()` will invoke the callback immediately, but it seems to just add it to `queue()`.\r\n\r\nIs the documentation wrong or is this a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/guzzle/promises/issues/comments/159192774","html_url":"https://github.com/guzzle/promises/issues/14#issuecomment-159192774","issue_url":"https://api.github.com/repos/guzzle/promises/issues/14","id":159192774,"user":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T08:23:31Z","updated_at":"2015-11-24T08:23:31Z","body":"Yeah, the wording there is a bit ambiguous as to what \"immediately\" means. The intent is that there is no fulfillment required for the promise to resolve the callbacks. Maybe it should be changed to \"immediately on the next tick\""}}