cadrumo.application.operations._projection_authority module¶
Runtime-only response authority mechanics for operation projections.
- response_authority_binding_matches(authority, request, pending)[source]¶
Match request and checkpoint coordinates to the bound bearer exactly.
- Return type:
- Parameters:
authority (_BoundAuthorityHost)
request (OperationResponseControlRequestV1)
pending (OperationPendingInteraction)
- class OperationResponseAuthorityBrokerMixin[source]¶
Bases:
_AuthorityHostImplementation of process-local REVIEW bearer custody.
- reserve(operation_id, actor_ref)[source]¶
Issue an actor-bound opaque handle before operation execution starts.
- Return type:
- Parameters:
operation_id (OperationId)
actor_ref (OperationActorReference)
- issue(pending, response_token)[source]¶
Retain one mutable bearer only after its digest-bound checkpoint exists.
- Return type:
- Parameters:
pending (OperationPendingInteraction)
response_token (OperationResponseToken)
- bind(request, pending, capability, *, clock)[source]¶
Transfer one exact live bearer into an actor-bound response service.
- Return type:
- Parameters:
request (OperationResponseControlRequestV1)
pending (OperationPendingInteraction)
capability (OperationResponseCapability)