{"action":"opened","issue":{"url":"https://api.github.com/repos/pauldotknopf/net-core-qml/issues/21","repository_url":"https://api.github.com/repos/pauldotknopf/net-core-qml","labels_url":"https://api.github.com/repos/pauldotknopf/net-core-qml/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/pauldotknopf/net-core-qml/issues/21/comments","events_url":"https://api.github.com/repos/pauldotknopf/net-core-qml/issues/21/events","html_url":"https://github.com/pauldotknopf/net-core-qml/issues/21","id":343290728,"node_id":"MDU6SXNzdWUzNDMyOTA3Mjg=","number":21,"title":"Support for async/await callbacks with result.","user":{"login":"pauldotknopf","id":523150,"node_id":"MDQ6VXNlcjUyMzE1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/523150?v=4","gravatar_id":"","url":"https://api.github.com/users/pauldotknopf","html_url":"https://github.com/pauldotknopf","followers_url":"https://api.github.com/users/pauldotknopf/followers","following_url":"https://api.github.com/users/pauldotknopf/following{/other_user}","gists_url":"https://api.github.com/users/pauldotknopf/gists{/gist_id}","starred_url":"https://api.github.com/users/pauldotknopf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauldotknopf/subscriptions","organizations_url":"https://api.github.com/users/pauldotknopf/orgs","repos_url":"https://api.github.com/users/pauldotknopf/repos","events_url":"https://api.github.com/users/pauldotknopf/events{/privacy}","received_events_url":"https://api.github.com/users/pauldotknopf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-21T02:48:18Z","updated_at":"2018-07-21T02:48:18Z","closed_at":null,"author_association":"OWNER","body":"Consider this C# code.\r\n\r\n**C#**\r\n```c#\r\npublic async Task<string> AsyncMethod()\r\n{\r\n    await Task.Delay(TimeSpan.FromSeconds(5);\r\n    return \"test\";\r\n}\r\n```\r\n\r\nCurrently, we support invoking this method and having the continuations happen on the UI thread.\r\n\r\n**Qml**\r\n```js\r\no.AsyncMethod()\r\n```\r\n\r\nThe problem is that the caller has no way of knowing when this function is completed."}}
{"actor":{"display_login":"pauldotknopf"}}