@but212/atom-effect 0.3.0 → 0.3.2

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 CHANGED
@@ -225,9 +225,24 @@ export declare interface DebugConfig {
225
225
  export declare interface Dependency {
226
226
  readonly id: number;
227
227
  version: number;
228
+ /**
229
+ * Last epoch seen by this dependency (used for invalidation)
230
+ */
228
231
  _lastSeenEpoch: number;
232
+ /* Excluded from this release type: _tempUnsub */
233
+ /* Excluded from this release type: _modifiedAtEpoch */
234
+ /* Excluded from this release type: _visitedEpoch */
235
+ /**
236
+ * Subscribe to dependency updates
237
+ */
229
238
  subscribe(listener: (() => void) | Subscriber): () => void;
239
+ /**
240
+ * Peek at value without subscribing
241
+ */
230
242
  peek?(): unknown;
243
+ /**
244
+ * Current value (if cached)
245
+ */
231
246
  value?: unknown;
232
247
  }
233
248