Skip to content

Commit

Permalink
Merge pull request #21 from EventStore/improve-subsystems
Browse files Browse the repository at this point in the history
Return an IReadOnlyList for simplicity (DB-427)
  • Loading branch information
timothycoleman authored Oct 11, 2023
2 parents 1a34d9c + 15eb2e1 commit 1a587a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EventStore.Plugins/Subsystems/ISubsystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ namespace EventStore.Plugins.Subsystems;
public interface ISubsystem {
IApplicationBuilder Configure(IApplicationBuilder builder);
IServiceCollection ConfigureServices(IServiceCollection services);
IEnumerable<Task> Start();
IReadOnlyList<Task> Start();
void Stop();
}
2 changes: 1 addition & 1 deletion src/EventStore.Plugins/Subsystems/ISubsystemsPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public interface ISubsystemsPlugin<TArg> {
string Name { get; }
string Version { get; }
string CommandLineName { get; }
IEnumerable<ISubsystemFactory<TArg>> GetSubsystemFactories(string configPath);
IReadOnlyList<ISubsystemFactory<TArg>> GetSubsystemFactories(string configPath);
}

0 comments on commit 1a587a3

Please sign in to comment.