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;
9
9
public interface IBackgroundTaskQueue
10
10
{
11
11
/// <summary>
12
- /// Enqueue a work item to be executed on in the background.
12
+ /// Enqueue a work item to be executed in the background.
13
13
/// </summary>
14
14
void QueueBackgroundWorkItem ( Func < CancellationToken , Task > workItem ) ;
15
15
Original file line number Diff line number Diff line change @@ -9,4 +9,13 @@ namespace Umbraco.Cms.Infrastructure.HostedServices;
9
9
[ Obsolete ( "This has been relocated into Umbraco.Cms.Core. This definition in Umbraco.Cms.Infrastructure is scheduled for removal in Umbraco 17." ) ]
10
10
public interface IBackgroundTaskQueue : Core . HostedServices . IBackgroundTaskQueue
11
11
{
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 ) ;
12
21
}
You can’t perform that action at this time.
0 commit comments