28eddc5dc0
- Introduced `CancellationToken` to service methods for improved task cancellation handling. - Centralized reusable constants (`MinutesPerInterval`, `WaterReadyPowerThresholdWatts`) in `NordPoolConsts`. - Refactored `ConfigureAwait` usage and improved logging within `NordPoolEntityService`. - Adjusted tests to accommodate cancellation token changes.
7 lines
178 B
C#
7 lines
178 B
C#
namespace NordPoolManager.Interface;
|
|
|
|
public interface INordPoolInit
|
|
{
|
|
Task InitializeAsync();
|
|
Task CleanupEntitiesAsync(CancellationToken cancellationToken = default);
|
|
} |