export type TCommand = ( ) => Promise < void > | void ; export interface ICommandsAggregator { param command addCommand ( command ) : void ; /**
     * Execute all commands which have been aggregated
     */ executeAll ( ) : Promise < void > ; /**
     * Also maintain on the next execution
     */ triggerMaintain ( ) : void ; }