{"action":"opened","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-ajax/issues/218","repository_url":"https://api.github.com/repos/PolymerElements/iron-ajax","labels_url":"https://api.github.com/repos/PolymerElements/iron-ajax/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-ajax/issues/218/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-ajax/issues/218/events","html_url":"https://github.com/PolymerElements/iron-ajax/issues/218","id":164420679,"number":218,"title":"Ability to cancel current request","user":{"login":"wintersandroid","id":2851384,"avatar_url":"https://avatars.githubusercontent.com/u/2851384?v=3","gravatar_id":"","url":"https://api.github.com/users/wintersandroid","html_url":"https://github.com/wintersandroid","followers_url":"https://api.github.com/users/wintersandroid/followers","following_url":"https://api.github.com/users/wintersandroid/following{/other_user}","gists_url":"https://api.github.com/users/wintersandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/wintersandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wintersandroid/subscriptions","organizations_url":"https://api.github.com/users/wintersandroid/orgs","repos_url":"https://api.github.com/users/wintersandroid/repos","events_url":"https://api.github.com/users/wintersandroid/events{/privacy}","received_events_url":"https://api.github.com/users/wintersandroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T22:21:47Z","updated_at":"2016-07-07T22:21:47Z","closed_at":null,"body":"### Description\r\n\r\nI have an ajax request, that is started on a tab change, some of the tabs the request can take a few seconds, others less time. If I switch to a tab with a shorter request when the long one has not completed I get the result of the short request, then updated with the result of the long request...\r\n\r\nIt would be good to be able to cancel the current running request when a new request on the same iron-ajax is needed.\r\n\r\n### Expected outcome\r\n\r\nShow the data from the shorter second request.\r\n\r\n### Actual outcome\r\n\r\nCurrently, the last request to finish is displayed.\r\n\r\n"}}
{"actor":{"display_login":"wintersandroid"}}