Add genetic grain
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Orleans;
|
||||
using Orleans.Concurrency;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
@@ -15,5 +16,6 @@ public interface IBundleBacktestGrain : IGrainWithGuidKey
|
||||
/// The RequestId is determined by the grain's primary key
|
||||
/// </summary>
|
||||
/// <returns>Task representing the async operation</returns>
|
||||
[OneWay]
|
||||
Task ProcessBundleRequestAsync();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using Orleans;
|
||||
using Orleans.Concurrency;
|
||||
|
||||
namespace Managing.Application.Abstractions.Grains;
|
||||
|
||||
/// <summary>
|
||||
/// Orleans grain interface for Genetic Backtest operations.
|
||||
/// Uses the genetic request ID as the primary key (string).
|
||||
/// The grain processes a single genetic request identified by its primary key.
|
||||
/// </summary>
|
||||
public interface IGeneticBacktestGrain : IGrainWithStringKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Processes the genetic backtest request for this grain's RequestId.
|
||||
/// The RequestId is determined by the grain's primary key.
|
||||
/// </summary>
|
||||
[OneWay]
|
||||
Task ProcessGeneticRequestAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user