This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride/IOperation.cs

20 lines
493 B
C#
Raw Permalink Normal View History

using System.Collections.Generic;
using System.Threading;
2022-09-06 05:53:22 +00:00
using MfGames.Gallium;
2022-09-06 05:53:22 +00:00
namespace MfGames.Nitride;
public interface IOperation
{
/// <summary>
/// Runs the input entities through the operation and returns the results.
/// </summary>
/// <param name="input"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
IEnumerable<Entity> Run(
IEnumerable<Entity> input,
CancellationToken cancellationToken = default);
}