Interface IJobQueue<TArgs>
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, Nullable<TimeSpan>)
Declaration
Task<string> EnqueueAsync(TArgs args, BackgroundJobPriority priority = default(BackgroundJobPriority), TimeSpan? delay = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TArgs | args | |
| BackgroundJobPriority | priority | |
| System.Nullable<TimeSpan> | delay |
Returns
| Type | Description |
|---|---|
| Task<System.String> |