public virtual Task ExecuteMundane()

in src/Engines/BaseEngine.cs [823:859]


        public virtual Task<ExecutionResult> ExecuteMundane(string input, IChannel channel, CancellationToken cancellationToken)
            => ExecuteMundane(input, channel);

        /// <summary>
        ///     Executes the given action with the corresponding parameters, and then triggers the given event.
        /// </summary>
        public async Task<ExecutionResult> ExecuteAndNotify(
            string input,
            IChannel channel,
            Func<string, IChannel, Task<ExecutionResult>> action,
            EventHandler<ExecutedEventArgs> evt
        ) => await ExecuteAndNotify(
                input,
                channel,
                CancellationToken.None,
                (input, channel, cancellationToken) => action(input, channel),
                evt
            );

        /// <summary>
        ///     Executes the given action with the corresponding parameters, and then triggers the given event.
        /// </summary>
        public async Task<ExecutionResult> ExecuteAndNotify(
            string input,
            IChannel channel,
            CancellationToken cancellationToken,
            Func<string, IChannel, CancellationToken, Task<ExecutionResult>> action,
            EventHandler<ExecutedEventArgs> evt
        )
        {
            var duration = Stopwatch.StartNew();
            var result = await action(input, channel, cancellationToken);
            duration.Stop();

            evt?.Invoke(this, new ExecutedEventArgs(null, result, duration.Elapsed, this.ExecutionCount));
            return result;
        }