Loading...
Loading...
Compare original and translation side by side
Cargo.tomliii-sdk = { version = "0.10", features = ["otel"] }Cargo.tomliii-sdk = { version = "0.10", features = ["otel"] }| Export | Purpose |
|---|---|
| Connect to the engine, returns |
| Register a sync function using the builder API |
| Register an async function using the builder API |
| Two-arg convenience method for function registration |
| Builder with |
| Bind a trigger to a function |
| Invoke a function |
| Fire-and-forget invocation |
| Durable async invocation |
| Error type for handler failures |
| Helper for atomic stream CRUD |
| OpenTelemetry (requires |
| HTTP client with trace context propagation |
| 导出内容 | 用途 |
|---|---|
| 连接到引擎,返回 |
| 使用构建器API注册同步函数 |
| 使用构建器API注册异步函数 |
| 用于函数注册的双参数便捷方法 |
| 带有 |
| 将触发器绑定到函数 |
| 调用函数 |
| 即发即弃式调用 |
| 持久化异步调用 |
| 处理器失败时的错误类型 |
| 用于原子流CRUD的辅助工具 |
| OpenTelemetry(需启用 |
| 带有追踪上下文传播的HTTP客户端 |
features = ["otel"]Cargo.tomlRegisterFunction::new("id", handler)RegisterFunction::new_async("id", handler)schemars::JsonSchema.description("...")RegisterFunctiontokio::time::sleepregister_triggerOk(())?Cargo.tomlfeatures = ["otel"]RegisterFunction::new("id", handler)RegisterFunction::new_async("id", handler)schemars::JsonSchemaRegisterFunction.description("...")tokio::time::sleepregister_triggerOk(())?iii-functions-and-triggersiii-node-sdkiii-python-sdkiii-functions-and-triggersiii-node-sdkiii-python-sdkiii-rust-sdkiii-rust-sdk