Skip to content

Commit

Permalink
fix: this Append is void, not async
Browse files Browse the repository at this point in the history
  • Loading branch information
the-avid-engineer committed Jan 14, 2024
1 parent 65ea3c5 commit f1cab06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public interface IMultipleStreamRepository : IDisposableResource
/// <returns>A task.</returns>
Task LoadOrCreate(Key streamKey, CancellationToken cancellationToken = default);

void Append(Key streamKey, object delta, CancellationToken cancellationToken = default);
void Append(Key streamKey, object delta);

Check warning on line 29 in src/EntityDb.Abstractions/Streams/IMultipleStreamRepository.cs

View workflow job for this annotation

GitHub Actions / Publish to Beta

Missing XML comment for publicly visible type or member 'IMultipleStreamRepository.Append(Key, object)'

Check warning on line 29 in src/EntityDb.Abstractions/Streams/IMultipleStreamRepository.cs

View workflow job for this annotation

GitHub Actions / Publish to Beta

Missing XML comment for publicly visible type or member 'IMultipleStreamRepository.Append(Key, object)'

/// <summary>
/// Stages a single delta with a given state key and message key.
Expand Down
2 changes: 1 addition & 1 deletion src/EntityDb.Common/Streams/MultipleStreamRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void Create(Key streamKey)
});
}

public void Append(Key streamKey, object delta, CancellationToken cancellationToken = default)
public void Append(Key streamKey, object delta)
{
if (!_knownStreams.TryGetValue(streamKey, out var stream))
{
Expand Down

0 comments on commit f1cab06

Please sign in to comment.