ec-web 0.0.1 → 0.0.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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * WatchSource — 统一数据源抽象。
3
+ *
4
+ * 三个 watch 视图(aid / msg / session)各实现一遍:
5
+ * - snapshot(params): 当前全量快照
6
+ * - subscribe(params, push): 注册变更回调,返回取消订阅函数
7
+ *
8
+ * aid/cache 走 IPC 轮询(无推送),msg/session 走 fs.watch 文件监听。
9
+ */
10
+ export {};