isar / isar/hive

Will writing large number of objects hang up my UI ?

Open
#751 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

**Question**
Hive is fast but I want to know if writing objects will hang up my UI ever and also will this code segment cause any problem :
**Code sample**
```dart
void function1(int i) async{
await box.add(i);
}
void function2()
{
for(int i=0;i<10;i++)
{
function1(i);
}
}
```
Should I use `await` inside `function2` as well or it will fine.
Edit :- Turns out it was my generator function which was hogging the UI.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.