Skip to content

Commit

Permalink
feat: examples/alice_objectbox
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Jun 28, 2024
1 parent e45fb6c commit bdde6c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/alice_objectbox/lib/core/alice_core_objectbox.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'dart:async';
import 'dart:math' show max;

import 'package:alice/core/alice_core.dart';
Expand Down Expand Up @@ -31,7 +32,8 @@ class AliceCoreObjectBox extends AliceCore {
.query()
.order<int>(CachedAliceHttpCall_.createdTime, flags: Order.descending)
.watch(triggerImmediately: true)
.map((Query<CachedAliceHttpCall> query) => query.find());
.map((Query<CachedAliceHttpCall> query) => query.find())
.asBroadcastStream();

@override
List<AliceHttpCall> getCalls() => _store.httpCalls.getAll();
Expand Down

0 comments on commit bdde6c4

Please sign in to comment.