@interncom/diplomatic 0.17.0 → 0.17.1
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/web/entdb/cached.d.ts +5 -2
- package/dist/web/index.mjs +1 -1
- package/dist/web/worker.mjs +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,8 @@ export declare class CachedEntDB implements IEntDB {
|
|
|
39
39
|
/**
|
|
40
40
|
* Fan-out write: mem (immediate notify) + durable, then reconcile mem
|
|
41
41
|
* from durable for the ops' eids (second notify only if something moved).
|
|
42
|
+
* Mem patch+emit is synchronous so notify does not wait on IDB (new insert
|
|
43
|
+
* included). Persist stays on the write chain.
|
|
42
44
|
*/
|
|
43
45
|
apply(ops: IOp[]): Promise<import("./entdb").ApplyResult>;
|
|
44
46
|
clear(): Promise<Status>;
|
|
@@ -49,8 +51,9 @@ export declare class CachedEntDB implements IEntDB {
|
|
|
49
51
|
ingestFromDurable(eids: Iterable<EntityID>): Promise<Status>;
|
|
50
52
|
/**
|
|
51
53
|
* Install durable truth for each eid into mem (live or tombstone).
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
+
* When `snap` is set (post-apply reconcile), skip eids whose mem stamp
|
|
55
|
+
* moved — a later apply owns them. Without snap (ingest), do not clobber
|
|
56
|
+
* a newer in-flight mem row.
|
|
54
57
|
*/
|
|
55
58
|
private pullEids;
|
|
56
59
|
private warmType;
|