Skip to content

Commit 771a485

Browse files
committed
sealing
1 parent 85df65b commit 771a485

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BackgroundQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace Soenneker.Utils.BackgroundQueue;
1515

1616
/// <inheritdoc cref="IBackgroundQueue"/>
17-
public class BackgroundQueue : IBackgroundQueue
17+
public sealed class BackgroundQueue : IBackgroundQueue
1818
{
1919
private readonly Channel<Func<CancellationToken, ValueTask>> _valueTaskChannel;
2020
private readonly Channel<Func<CancellationToken, Task>> _taskChannel;

src/QueuedHostedService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Soenneker.Utils.BackgroundQueue;
1313

1414
/// <inheritdoc cref="IQueuedHostedService"/>
15-
public class QueuedHostedService : BackgroundService, IQueuedHostedService
15+
public sealed class QueuedHostedService : BackgroundService, IQueuedHostedService
1616
{
1717
private readonly IBackgroundQueue _queue;
1818
private readonly ILogger<QueuedHostedService> _logger;

0 commit comments

Comments
 (0)