streaming, markdown, model selecting, and lots more
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
diff --git a/dist/db.js b/dist/db.js
|
||||
index 09fcba1b0df49971de59b5d9f11171e5ea88aee7..9c4d3060894285218d2d1f961930b5dad52d7bc5 100644
|
||||
--- a/dist/db.js
|
||||
+++ b/dist/db.js
|
||||
@@ -307,9 +307,7 @@ export class DB {
|
||||
// TODO call the listeners in the entity store
|
||||
// Trigger subscription updates
|
||||
await this.ivm.bufferChanges(changes);
|
||||
- for (const listener of this.onCommitListeners) {
|
||||
- listener(changes);
|
||||
- }
|
||||
+ await Promise.all([...this.onCommitListeners].map((listener) => listener(changes)));
|
||||
return output;
|
||||
}
|
||||
async applyChanges(changes, options) {
|
||||
Reference in New Issue
Block a user