@rdlabo/ionic-angular-kit 21.6.7 → 21.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-angular-kit",
3
- "version": "21.6.7",
3
+ "version": "21.6.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-dev/ionic-angular-library.git"
@@ -730,7 +730,7 @@ declare class OfflineReplicaPullService {
730
730
  }
731
731
 
732
732
  /**
733
- * Serializes only local replica read/derive/write critical sections. Network
733
+ * Serializes local replica reads and read/derive/write critical sections. Network
734
734
  * transport must stay outside this coordinator so synchronization never holds
735
735
  * the local mutation lane while waiting on I/O.
736
736
  *
@@ -742,7 +742,15 @@ declare class OfflineReplicaMutationCoordinator {
742
742
  #private;
743
743
  /** Enqueues one local replica critical section behind any in-flight mutation. */
744
744
  run<T>(operation: (repository: OfflineRepository) => Promise<T>): Promise<T>;
745
- /** Resolves after every currently queued replica mutation has settled. */
745
+ /**
746
+ * Enqueues an external local-replica read behind mutations and keeps later
747
+ * mutations behind that read until it settles.
748
+ *
749
+ * Do not invoke this from inside {@link run}; use the repository passed to
750
+ * that callback for reads owned by an atomic mutation.
751
+ */
752
+ runSerializedRead<T>(read: () => Promise<T>): Promise<T>;
753
+ /** Resolves after every currently queued replica read or mutation has settled. */
746
754
  drain(): Promise<void>;
747
755
  /**
748
756
  * Calls the product aggregate-intent projector and validates scope, schema,