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 receipts are recorded.
Methods
WriteAsync(IDecisionReceipt, CancellationToken)
Records a single decision receipt value.
ValueTask WriteAsync(IDecisionReceipt receipt, CancellationToken cancellationToken = default)
Parameters
receiptIDecisionReceiptThe decision receipt to record.
cancellationTokenCancellationTokenA token that can cancel the write.
Returns
- ValueTask
A task that completes when the receipt has been recorded.