Skip to main content
server.Calls

Methods

addWorkload

▸ addWorkload<C>(name, command, options): Promise<{ call_id: ExternalCallId ; credential_digest: string ; authority_digest: string }> Deliver a scoped worker credential through host-only request-body slots. Only digests return to guest code; the command owner retains its sealed context and retries the same delivery under the original command.

Type parameters

Parameters

Returns

Promise<{ call_id: ExternalCallId ; credential_digest: string ; authority_digest: string }>

cancel

▸ cancel(id): Promise<null> Cancel a command proven unsent as its original verified requester under current disclosure authority. Local business changes are retained. A possibly sent command must be reconciled; changed meaning requires fresh admission.

Parameters

Returns

Promise<null>

collectEvidence

▸ collectEvidence(id, request): Promise<"queued" | "consumed"> Persist one bounded read-only completion acquisition after automatic recovery stopped. The original verified requester and current policy remain required. Reusing a request key never releases another acquisition. A consumed key reserved a read; it does not imply a response or outcome.

Parameters

Returns

Promise<"queued" | "consumed">

add

▸ add<C>(name, command, options): Promise<ExternalCallId>

Type parameters

Parameters

Returns

Promise<ExternalCallId>