Table of Contents

Interface IFilter<TContext>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

A filter is a functional node in a pipeline, connected by pipes to other filters.

public interface IFilter<TContext> : IProbeSite where TContext : class, PipeContext

Type Parameters

TContext

The pipe context type

Inherited Members
Extension Methods

Methods

Send(TContext, IPipe<TContext>)

Sends a context to a filter, such that it can be processed and then passed to the specified output pipe for further processing.

Task Send(TContext context, IPipe<TContext> next)

Parameters

context TContext

The pipe context type

next IPipe<TContext>

The next pipe in the pipeline

Returns

Task

An awaitable Task