```text
chore: 新增项目规则文档、构建别名及忽略规则 添加 AGENTS.md 项目规则文件,涵盖语言与工具链、模块设计、 Git 提交规范及验证流程等内容。 变更要点: - .cargo/config.toml 新增 xtask 命令别名 - .gitignore 忽略运行时地图缓存、接收器配置文件、 构建锁文件及本地 docs/ 目录 - 新增 AGENTS.md 定义项目编码、提交与审查规则 ```
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// Module bootstrap only; telemetry decoding and state handling live in Rust.
|
||||
import init, {connect, acknowledge} from './rid_web_worker.js';
|
||||
const ready = init();
|
||||
self.onmessage = async event => {
|
||||
await ready;
|
||||
if (event.data?.type === 'connect') connect(event.data.url);
|
||||
if (event.data?.type === 'ack') acknowledge(event.data.sequence);
|
||||
};
|
||||
Reference in New Issue
Block a user