-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
File sync run in the main isolate for a certain amount of time should report as a performance issue #1727
Comments
Found
https://api.flutter.dev/flutter/services/ServicesBinding/rootIsolateToken.html |
I think you can also check for the isolate name being 'main'. That way you don't need a dependency on Flutter. The token is also a recent addition, which is not compatible with the lowest supported Flutter version |
@ueman Do you mean with
https://api.dart.dev/stable/3.2.2/dart-isolate/Isolate/debugName.html |
I think the |
@buenaflor Checked the cocoa SDK and could not find it at first glance. Can you point me to the right code snippet? |
We will need to attach the relevant data:
Edit: this is blocked by min version Flutter |
Important to know, Flutter Users need to init Dart This behaviour is reflected by the added integration tests in the example test. |
Description
SImilar to how the native SDKs do it.
Needs investigation first if we can check if it's run in a background isolate
The text was updated successfully, but these errors were encountered: