Skip to content

Commit 1a08863

Browse files
author
Anthony Sneed
committed
Remove RemoveExpiredEventsAsync from IEventHandlingRepository.
1 parent a91caee commit 1a08863

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

src/EventDriven.EventBus.Abstractions/EventDriven.EventBus.Abstractions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
7-
<Version>1.2.0-beta2</Version>
7+
<Version>1.2.0-beta3</Version>
88
<Description>An event bus abstraction layer.</Description>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<PackageIcon>eda-logo.jpeg</PackageIcon>
@@ -13,7 +13,7 @@
1313
<RepositoryUrl>https://github.com/event-driven-dotnet/EventDriven.EventBus.Abstractions.git</RepositoryUrl>
1414
<RepositoryType>git</RepositoryType>
1515
<PackageTags>event-bus event-driven event-driven-architecture</PackageTags>
16-
<PackageReleaseNotes>https://github.com/event-driven-dotnet/EventDriven.EventBus.Abstractions/releases/tag/v1.2.0-beta2</PackageReleaseNotes>
16+
<PackageReleaseNotes>https://github.com/event-driven-dotnet/EventDriven.EventBus.Abstractions/releases/tag/v1.2.0-beta3</PackageReleaseNotes>
1717
<PackageId>EventDriven.EventBus.Abstractions</PackageId>
1818
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1919
</PropertyGroup>

src/EventDriven.EventBus.Abstractions/IEventHandlingRepository.cs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,11 @@
33

44
namespace EventDriven.EventBus.Abstractions;
55

6-
/// <summary>
7-
/// Event handing repository interface.
8-
/// </summary>
9-
public interface IEventHandlingRepository
10-
{
11-
/// <summary>
12-
/// Remove expired events.
13-
/// </summary>
14-
/// <returns>
15-
/// Task that will complete when the operation has completed.
16-
/// Task contains number of items deleted.
17-
/// </returns>
18-
Task<int> RemoveExpiredEventsAsync();
19-
}
20-
216
/// <summary>
227
/// Event handing repository interface.
238
/// </summary>
249
/// <typeparam name="TIntegrationEvent">Integration event type.</typeparam>
25-
public interface IEventHandlingRepository<TIntegrationEvent> : IEventHandlingRepository
10+
public interface IEventHandlingRepository<TIntegrationEvent>
2611
where TIntegrationEvent : IntegrationEvent
2712
{
2813
/// <summary>

0 commit comments

Comments
 (0)