Interface IDecisionReceiptSink
Receives decision receipt produced by the policy decision pipeline.
public interface IDecisionReceiptSink
Remarks
Core defines the contract only. Storage providers, hosts, or future integration packages own how and where residue is recorded.
Methods
WriteAsync(IDecisionReceipt, CancellationToken)
Records a single decision receipt value.
ValueTask WriteAsync(IDecisionReceipt residue, CancellationToken cancellationToken = default)
Parameters
residueIDecisionReceiptThe decision receipt to record.
cancellationTokenCancellationTokenA token that can cancel the write.
Returns
- ValueTask
A task that completes when the residue has been recorded.