Class LastPipe<TContext>
- Namespace
- MassTransit.Middleware
- Assembly
- MassTransit.Abstractions.dll
The last pipe in a pipeline is always an end pipe that does nothing and returns synchronously
public class LastPipe<TContext> : IPipe<TContext>, IProbeSite where TContext : class, PipeContext
Type Parameters
TContext
- Inheritance
-
LastPipe<TContext>
- Implements
-
IPipe<TContext>
- Inherited Members
- Extension Methods
Constructors
LastPipe(IFilter<TContext>)
public LastPipe(IFilter<TContext> filter)
Parameters
filter
IFilter<TContext>
Methods
Probe(ProbeContext)
public void Probe(ProbeContext context)
Parameters
context
ProbeContext
Send(TContext)
The base primitive, Send delivers the pipe context of T to the pipe.
public Task Send(TContext context)
Parameters
context
TContextThe pipe context of type T
Returns
- Task
A task which is completed once the pipe has processed the context