// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Threading.Tasks;

namespace Microsoft.AspNetCore.Mvc.Filters
{
    /// <summary>
    /// A delegate that asynchronously returns an <see cref="ResultExecutedContext"/> indicating the action result or
    /// the next result filter has executed.
    /// </summary>
    /// <returns>A <see cref="Task"/> that on completion returns an <see cref="ResultExecutedContext"/>.</returns>
    public delegate Task<ResultExecutedContext> ResultExecutionDelegate();
}
