google / google/webcrypto.dart
Move all computation off-the-mainthread
Open
enhancement
- Dominant language
- Dart
- Stars
- 116
- Forks
- 110
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 9
Description
This already the case on the web, or at-least it's moved the browser which is most likely moving it off-the-mainthread.
We should do the same on Android and iOS.
A workaround is to wrap functions using crypto with [compute](https://api.flutter.dev/flutter/foundation/compute.html).
**NOTE**, the API is already fully async, so we should be able to move computation off the main thread, without breaking existing users of this package.
Contributor guide
Assessment
This issue has not been assessed yet.