Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @pragma('vm:awaiter-link') for better stacktraces #2291

Open
ueman opened this issue Sep 11, 2024 · 0 comments · May be fixed by #2292
Open

Use @pragma('vm:awaiter-link') for better stacktraces #2291

ueman opened this issue Sep 11, 2024 · 0 comments · May be fixed by #2292
Labels
e: performance Improvements or additions to performance e: PR welcomed

Comments

@ueman
Copy link
Contributor

ueman commented Sep 11, 2024

Whenever we use a Completer which we do rather often, we can annotate it with @pragma('vm:awaiter-link') to get better stacktraces. We should do so. An in-detail explanation for the pragma can be found here.

@ueman ueman added e: performance Improvements or additions to performance e: PR welcomed labels Sep 11, 2024
@codedbycurtis codedbycurtis linked a pull request Sep 11, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e: performance Improvements or additions to performance e: PR welcomed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant