File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Umbraco.Core/HostedServices
Umbraco.Infrastructure/HostedServices Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace Umbraco.Cms.Core.HostedServices;
99public interface IBackgroundTaskQueue
1010{
1111 /// <summary>
12- /// Enqueue a work item to be executed on in the background.
12+ /// Enqueue a work item to be executed in the background.
1313 /// </summary>
1414 void QueueBackgroundWorkItem ( Func < CancellationToken , Task > workItem ) ;
1515
Original file line number Diff line number Diff line change @@ -9,4 +9,13 @@ namespace Umbraco.Cms.Infrastructure.HostedServices;
99[ Obsolete ( "This has been relocated into Umbraco.Cms.Core. This definition in Umbraco.Cms.Infrastructure is scheduled for removal in Umbraco 17." ) ]
1010public interface IBackgroundTaskQueue : Core . HostedServices . IBackgroundTaskQueue
1111{
12+ /// <summary>
13+ /// Enqueue a work item to be executed in the background.
14+ /// </summary>
15+ void QueueBackgroundWorkItem ( Func < CancellationToken , Task > workItem ) ;
16+
17+ /// <summary>
18+ /// Dequeue the first item on the queue.
19+ /// </summary>
20+ Task < Func < CancellationToken , Task > ? > DequeueAsync ( CancellationToken cancellationToken ) ;
1221}
You can’t perform that action at this time.
0 commit comments