iii-node-sdk
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNode.js SDK
Node.js SDK
The TypeScript/JavaScript SDK for connecting workers to the iii engine.
用于将工作器连接到iii引擎的TypeScript/JavaScript SDK。
Documentation
文档
Full API reference: https://iii.dev/docs/api-reference/sdk-node
Install
安装
npm install iii-sdknpm install iii-sdkKey Exports
主要导出项
| Export | Purpose |
|---|---|
| Connect to the engine and return the client |
| Register an async function handler |
| Bind a trigger to a function |
| Invoke a function |
| Fire-and-forget invocation mode |
| Durable async invocation mode |
| Structured logging |
| OpenTelemetry instrumentation |
| Binary streaming between workers |
| Custom stream implementation |
| Custom trigger type registration |
| 导出项 | 用途 |
|---|---|
| 连接到引擎并返回客户端 |
| 注册异步函数处理程序 |
| 将触发器绑定到函数 |
| 调用函数 |
| 即发即弃调用模式 |
| 持久化异步调用模式 |
| 结构化日志记录 |
| OpenTelemetry 工具化 |
| 工作器之间的二进制流传输 |
| 自定义流实现 |
| 自定义触发器类型注册 |
Pattern Boundaries
模式边界
- For usage patterns and working examples, see
iii-functions-and-triggers - For HTTP endpoint patterns, see
iii-http-endpoints - For Python SDK, see
iii-python-sdk - For Rust SDK, see
iii-rust-sdk
- 有关使用模式和工作示例,请查看
iii-functions-and-triggers - 有关HTTP端点模式,请查看
iii-http-endpoints - 如需Python SDK,请查看
iii-python-sdk - 如需Rust SDK,请查看
iii-rust-sdk