At https://api.flutter.dev/flutter/scheduler/SchedulerBinding/scheduleTask.html, there is:
Tasks will be executed between frames, in priority order, excluding tasks that are skipped by the current schedulingStrategy. Tasks should be short (as in, up to a millisecond), so as to not cause the regular frame callbacks to get delayed.
At https://api.flutter.dev/flutter/foundation/compute.html, there is:
This is useful for operations that take longer than a few milliseconds, and which would therefore risk skipping frames. For tasks that will only take a few milliseconds, consider SchedulerBinding.scheduleTask instead.
I think that up to a millisecond is not consistent with a few milliseconds. This would cause confusion.
I would like to handle this, once it setteld down.
At https://api.flutter.dev/flutter/scheduler/SchedulerBinding/scheduleTask.html, there is:
At https://api.flutter.dev/flutter/foundation/compute.html, there is:
I think that
up to a millisecondis not consistent witha few milliseconds. This would cause confusion.I would like to handle this, once it setteld down.