Interface IJobQueue<TArgs>
Inherited Members
Namespace: Volo.Abp.BackgroundJobs.RabbitMQ
Assembly: Volo.Abp.BackgroundJobs.RabbitMQ.dll
Syntax
public interface IJobQueue<in TArgs> : IRunnable, IDisposable
Type Parameters
Name | Description |
---|---|
TArgs |
Methods
EnqueueAsync(TArgs, BackgroundJobPriority, TimeSpan?)
Declaration
Task<string?> EnqueueAsync(TArgs args, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Type | Name | Description |
---|---|---|
TArgs | args | |
BackgroundJobPriority | priority | |
TimeSpan? | delay |
Returns
Type | Description |
---|---|
Task<string> |