{"action":"created","issue":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1308","repository_url":"https://api.github.com/repos/sweetalert2/sweetalert2","labels_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1308/labels{/name}","comments_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1308/comments","events_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1308/events","html_url":"https://github.com/sweetalert2/sweetalert2/issues/1308","id":384483668,"node_id":"MDU6SXNzdWUzODQ0ODM2Njg=","number":1308,"title":"Queue progression absent in conjunction with timer close","user":{"login":"Orbling","id":5231464,"node_id":"MDQ6VXNlcjUyMzE0NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5231464?v=4","gravatar_id":"","url":"https://api.github.com/users/Orbling","html_url":"https://github.com/Orbling","followers_url":"https://api.github.com/users/Orbling/followers","following_url":"https://api.github.com/users/Orbling/following{/other_user}","gists_url":"https://api.github.com/users/Orbling/gists{/gist_id}","starred_url":"https://api.github.com/users/Orbling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orbling/subscriptions","organizations_url":"https://api.github.com/users/Orbling/orgs","repos_url":"https://api.github.com/users/Orbling/repos","events_url":"https://api.github.com/users/Orbling/events{/privacy}","received_events_url":"https://api.github.com/users/Orbling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-26T19:48:45Z","updated_at":"2018-11-26T22:44:10Z","closed_at":null,"author_association":"NONE","body":"## Current behavior\r\n\r\nQueued items do not progress when using a timer to close.\r\n\r\n## Expected behavior\r\n\r\nWhen the timer setting causes the closure of a modal/toast, then the queue should advance.\r\n\r\nPossibly related issue to closing not necessarily producing a dismiss reason.\r\n\r\n## Live demo\r\n\r\n<!-- If possible, please provide a working example in order for us to be able to reproduce the issue -->\r\n\r\nhttps://glitch.com/edit/#!/join/e698d1e1-901d-42d6-8db0-78525e7296af\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/comments/441829355","html_url":"https://github.com/sweetalert2/sweetalert2/issues/1308#issuecomment-441829355","issue_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/1308","id":441829355,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTgyOTM1NQ==","user":{"login":"Orbling","id":5231464,"node_id":"MDQ6VXNlcjUyMzE0NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5231464?v=4","gravatar_id":"","url":"https://api.github.com/users/Orbling","html_url":"https://github.com/Orbling","followers_url":"https://api.github.com/users/Orbling/followers","following_url":"https://api.github.com/users/Orbling/following{/other_user}","gists_url":"https://api.github.com/users/Orbling/gists{/gist_id}","starred_url":"https://api.github.com/users/Orbling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orbling/subscriptions","organizations_url":"https://api.github.com/users/Orbling/orgs","repos_url":"https://api.github.com/users/Orbling/repos","events_url":"https://api.github.com/users/Orbling/events{/privacy}","received_events_url":"https://api.github.com/users/Orbling/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T22:44:10Z","updated_at":"2018-11-26T22:44:10Z","author_association":"NONE","body":"@gverni An interesting approach, I have not come by the `async`/`await` primitives before, I wonder what their browser support is like.  (Had a look, [85.6%](https://caniuse.com/#feat=async-functions) currently overall, only introduced to most major browser 2017 Q1.)\r\n\r\nMy use case requires a fair bit of adding to an active queue using `insertQueueStep()`, I could adapt the async function you generated in your example to view the array as a queue easily enough.  Though I'm not sure using async/wait has sufficient universality, though I am grateful for the introduction to them.\r\n\r\nI still think there is a good case for a defined dismiss event on timer expiry.  Think of a shutdown/logout like command that asks \"Are you sure?\" and defaults to yes.  Essentially the concept is whether the timer expiry corresponds to the default option, cancel or another value.\r\n\r\nNB. Slightly unrelated, but related to my use case, adding to a queue seems to require an initial call to queue.  I initially wanted to add normally and specify `queue: true` or some sort to not replace the existing swal call.  That's not a bug though, additional functionality."}}
{"actor":{"display_login":"Orbling"}}