mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 10:27:18 +02:00
18 lines
502 B
C#
18 lines
502 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WotBlitzStatisticsPro.Logic.Pipeline
|
|
{
|
|
/// <summary>
|
|
/// Represents pipeline single operation
|
|
/// </summary>
|
|
public interface IOperation<TContext>
|
|
{
|
|
/// <summary>
|
|
/// Invokes the pipeline operation
|
|
/// </summary>
|
|
/// <param name="context">Pipeline context</param>
|
|
/// <param name="next">Next operation</param>
|
|
Task Invoke(TContext context, Func<TContext, Task>? next);
|
|
}
|
|
} |