isar / isar/hive

Watching data in Hive database with RxDart

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

Description

I’m using Hive and RxDart Is there a better way of emitting values from my Hive box than

```
Stream> watchTissues() {
return tissueBox
.watch()
.map((event) => getTissues())
.startWith(getTissues());
}

List getTissues() {
return List.from(tissueBox.values);
}
```
It works but looks too verbose to me, so wondering if there is a better way?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the watchTissues() and getTissues() examples in the issue, then inspect the repository's Hive box and watch APIs. The issue names no source files or tests, and completion would require agreeing on a specific simpler supported API or behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.