跳转到正文

action_guard API ​

完整接口目录 · 移动与导航用法 · 工具包下载

模块说明 ​

text
Fixed native guard observation: three sequential snapshots, never a clock.

ACTION_GUARD_OBSERVE ​

python
ACTION_GUARD_OBSERVE = 'framework.self.action_guard.observe'

prepare_action_guard_observation ​

python
def prepare_action_guard_observation(
    operations,
    *,
    idempotency_key,
    deadline,
    connection_id = '',
    max_age_ms = 500,
    retained_fence = None,
) -> OperationIntent

SDK 说明:

text
Prepare only; the caller journals/submits once and preserves its receipt.

The explicit grant exposes death(limit=1), inventory(window=0) and retained
typed AuthInput in one read-only operation. It does not grant packet sending.
retained_fence explicitly checks current native admission lineage while
preserving original packet age; it does not relax the caller read budget.
Unknown or missing capabilities must not be recovered by reissuing reads.

action_guard_components ​

python
def action_guard_components(result)

SDK 说明:

text
Extract successful original provider values; never alter age/namespace.

Consume only after journaling a confirmed succeeded operation receipt. Host
offsets describe sequential reads and cannot be used as client timestamps or
to turn the retained AuthInput admission into a fresh frame.

Neomega · 使用、开发与参考文档