@dvina/sdk 5.0.27 → 5.0.28
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/dist/index.d.ts +4 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,8 @@ declare class DexieLiveQueryRef<T> implements DvinaQueryRef<T> {
|
|
|
131
131
|
private _observable;
|
|
132
132
|
private _subscription;
|
|
133
133
|
private _disposed;
|
|
134
|
+
/** Aborted on dispose, so what waits to read it again (a first read that failed on the way) stops. */
|
|
135
|
+
private _disposal;
|
|
134
136
|
/** Active consumers — each `[Symbol.asyncIterator]()` call registers one */
|
|
135
137
|
private _consumers;
|
|
136
138
|
/** Whether the first server fetch has completed */
|
|
@@ -138,6 +140,8 @@ declare class DexieLiveQueryRef<T> implements DvinaQueryRef<T> {
|
|
|
138
140
|
/** Pending callbacks waiting for initialization */
|
|
139
141
|
private _initWaiters;
|
|
140
142
|
current: T | undefined;
|
|
143
|
+
/** Aborts once the ref is disposed. */
|
|
144
|
+
get disposalSignal(): AbortSignal;
|
|
141
145
|
constructor(queryFactory: DexieQueryFactory<T>, refetch: RefetchCallback<T>, fetchMore: FetchMoreCallback);
|
|
142
146
|
/**
|
|
143
147
|
* Mark this query as initialized (first server fetch complete).
|