transactionExtender top-level property

Facet<TransactionSpec? Function(Transaction tr), List<TransactionSpec? Function(Transaction tr)>> transactionExtender
final

This is a more limited form of transactionFilter, which can only add annotations and effects.

But, this type of filter runs even if the transaction has disabled regular filtering, making it suitable for effects that don't need to touch the changes or selection, but do want to process every transaction.

Extenders run after filters, when both are present.

Implementation

final Facet<
  TransactionSpec? Function(Transaction tr),
  List<TransactionSpec? Function(Transaction tr)>
>
transactionExtender = Facet.define();