IncrementalAction typedef
Signature of the action of incremental Tasks.
When there are no changes, the Task will not run. The changes Lists reflects what has changed since the last time the Task executed successfully.
Only Tasks that have a runCondition
of type RunOnChanges can receive
input/output changes.
Notice that the full set of changes are only collected if a Task action requires them.
Implementation
typedef IncrementalAction = FutureOr<void> Function(List<String> args,
[ChangeSet? changeSet]);