{"action":"opened","issue":{"url":"https://api.github.com/repos/fluttercommunity/flutter_webview_plugin/issues/186","repository_url":"https://api.github.com/repos/fluttercommunity/flutter_webview_plugin","labels_url":"https://api.github.com/repos/fluttercommunity/flutter_webview_plugin/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/fluttercommunity/flutter_webview_plugin/issues/186/comments","events_url":"https://api.github.com/repos/fluttercommunity/flutter_webview_plugin/issues/186/events","html_url":"https://github.com/fluttercommunity/flutter_webview_plugin/issues/186","id":358667049,"node_id":"MDU6SXNzdWUzNTg2NjcwNDk=","number":186,"title":"async methods in callbacks","user":{"login":"mbartn","id":26636615,"node_id":"MDQ6VXNlcjI2NjM2NjE1","avatar_url":"https://avatars2.githubusercontent.com/u/26636615?v=4","gravatar_id":"","url":"https://api.github.com/users/mbartn","html_url":"https://github.com/mbartn","followers_url":"https://api.github.com/users/mbartn/followers","following_url":"https://api.github.com/users/mbartn/following{/other_user}","gists_url":"https://api.github.com/users/mbartn/gists{/gist_id}","starred_url":"https://api.github.com/users/mbartn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbartn/subscriptions","organizations_url":"https://api.github.com/users/mbartn/orgs","repos_url":"https://api.github.com/users/mbartn/repos","events_url":"https://api.github.com/users/mbartn/events{/privacy}","received_events_url":"https://api.github.com/users/mbartn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T15:08:15Z","updated_at":"2018-09-10T15:08:15Z","closed_at":null,"author_association":"NONE","body":"Is it possible to invoke async method in callback, e.g\r\n\r\n`    webview.onUrlChanged.listen((url) async{`\r\n  `            await Future.delayed(Duration(seconds: 5));`\r\n`print('Done'!);`\r\n`    }) `\r\n\r\n\r\nNow it doesn't wait for the method to finish. "}}
{"actor":{"display_login":"mbartn"}}