You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pigeon : [FlutterApi] Support for asynchronous methods/Functions #64810
Solution: The solution is pretty simple, we just need to somehow tell the generator that this function is an async one. We can do this easily using an annotation to mark it such and just add an await keyword in front of the function execution while code generation.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
gaaclarke commentedon Aug 28, 2020
Duplicate of #60399
Check out that issue for a workaround and to see what we were planning on implementing for this in the future. Thanks!
github-actions commentedon Aug 13, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.