Hierarchy
-
ComputationReader↳Computations
Methods
result
▸ result<Ref>(computation, runId): Promise<ComputationResult<Ref>>
Read the exact accepted value under current authority. Pending, rejected
and unavailable results refuse; this never starts or selects work.
Type parameters
Parameters
Returns
Promise<ComputationResult<Ref>>
Inherited from
ComputationReader.resultget
▸ get<Ref>(computation, runId): Promise<ComputationStatus<Ref>>
Type parameters
Parameters
Returns
Promise<ComputationStatus<Ref>>
Inherited from
ComputationReader.getinspect
▸ inspect<Ref>(computation, runId): Promise<ComputationInspection>
Type parameters
Parameters
Returns
Promise<ComputationInspection>
Inherited from
ComputationReader.inspectpaginate
▸ paginate<Ref, Name>(computation, selection): Promise<PaginationResult<ComputationRow<Ref, Name>>>
Type parameters
Parameters
Returns
Promise<PaginationResult<ComputationRow<Ref, Name>>>
Inherited from
ComputationReader.paginateoutput
▸ output<Ref, Name>(computation, runId, output): Promise<ComputationOutput<Ref, Name>>
A relational run’s output resolves to the exact reference of its
sealed result (partial or unfinished results have none); an installed
owner resolves the same output contract. Neither acquires or grants.
Type parameters
Parameters
Returns
Promise<ComputationOutput<Ref, Name>>
Inherited from
ComputationReader.outputstart
▸ start<Ref>(computation, options): Promise<RunId<Ref>>
Admits the run with the caller’s mutation: its writes, the run and the
captured input state commit together, and nothing waits on compute.
Type parameters
Parameters
Returns
Promise<RunId<Ref>>
cancel
▸ cancel<Ref>(computation, runId): Promise<ComputationCancellation<Ref>>
Type parameters
Parameters
Returns
Promise<ComputationCancellation<Ref>>
release
▸ release<Ref>(computation, runId): Promise<void>
Type parameters
Parameters
Returns
Promise<void>
requireRow
▸ requireRow<Ref, Name>(computation, selection): Promise<ComputationEvidence<ComputationRow<Ref, Name>>>
Require one row of an exact computation result as evidence for a
business operation. The result must belong to this computation; the
native owner checks the run’s exact arguments, the row’s native
identity, optional completion age and current source authority, and the
evidence must come from the referenced sealed content. Rows sent by a
client are never trusted.
Type parameters
Parameters
Returns
Promise<ComputationEvidence<ComputationRow<Ref, Name>>>