Interface IJobConsumer<TJob>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Defines a message consumer which runs a job asynchronously, without waiting, which is monitored by Conductor services, to monitor the job, limit concurrency, etc.
public interface IJobConsumer<in TJob> : IConsumer where TJob : class
Type Parameters
TJob
The job message type
Methods
Run(JobContext<TJob>)
Task Run(JobContext<in TJob> context)
Parameters
context
JobContext<TJob>