Skip to content

Commit

Permalink
Remove the session provider without scope
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci committed Oct 2, 2023
1 parent 378ddf3 commit 0638202
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Session.Abstractions/ISessionProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@

namespace MongoDB.Extensions.Session;

public interface ISessionProvider
public interface ISessionProvider<TScope>
{
Task<ITransactionSession> BeginTransactionAsync(
CancellationToken cancellationToken);

Task<ISession> StartSessionAsync(
CancellationToken cancellationToken);
}

public interface ISessionProvider<TScope> : ISessionProvider
{
}

0 comments on commit 0638202

Please sign in to comment.