YHH
56e322de7f
refactor(core): 优化 PlatformWorkerPool 和 IncrementalSerializer 代码规范 (#335)
PlatformWorkerPool:
- 添加 IWorkerPoolStatus 导出接口
- 添加便捷 getter: isDestroyed, workerCount, isReady, hasPendingTasks
- 提取 createTask/completeTask 方法减少重复代码
- 添加 ERROR_POOL_DESTROYED 常量
- 添加代码段分隔符和双语注释
IncrementalSerializer:
- 所有公共 API 添加 @zh/@en 双语注释
- 类型改用 interface 并添加 readonly
- SceneDataChange.value 从 any 改为 unknown
- 导出 SceneSnapshot, IIncrementalStats 接口
- 提取 DEFAULT_OPTIONS 常量
- 优化 getIncrementalStats 从 6 次 filter 改为 2 次循环
2025-12-25 18:39:15 +08:00
..
2025-12-23 15:34:01 +08:00
2025-12-24 20:57:08 +08:00
2025-12-16 12:46:14 +08:00
2025-12-22 10:52:54 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 13:07:09 +08:00
2025-12-24 20:57:08 +08:00
2025-12-23 15:34:01 +08:00
2025-12-19 17:48:18 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 18:39:15 +08:00
2025-12-24 20:57:08 +08:00
2025-12-24 20:57:08 +08:00
2025-12-24 20:57:08 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 15:17:06 +08:00
2025-12-23 15:34:01 +08:00
2025-12-19 18:40:19 +08:00
2025-12-19 22:46:33 +08:00
2025-12-22 10:52:54 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 12:51:52 +08:00
2025-12-24 20:57:08 +08:00
2025-12-19 15:33:36 +08:00
2025-12-19 15:33:36 +08:00
2025-12-24 20:57:08 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 14:03:12 +08:00
2025-12-24 22:49:29 +08:00
2025-12-24 22:49:29 +08:00
2025-12-24 20:57:08 +08:00
2025-12-19 17:48:18 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 17:24:24 +08:00
2025-12-19 15:33:36 +08:00
2025-12-24 20:57:08 +08:00
2025-12-08 21:23:37 +08:00
2025-12-22 10:52:54 +08:00
2025-12-08 21:26:35 +08:00
2025-12-25 14:33:19 +08:00
2025-12-10 18:23:29 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 11:00:43 +08:00
2025-12-22 10:52:54 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 13:24:26 +08:00
2025-12-19 15:33:36 +08:00
2025-12-24 20:57:08 +08:00
2025-12-19 15:33:36 +08:00
2025-12-24 20:57:08 +08:00
2025-12-25 12:29:59 +08:00
2025-12-08 21:23:37 +08:00
2025-12-24 20:57:08 +08:00
2025-12-24 20:57:08 +08:00