Search documentationEsc

IItemChangeFeedProcessor<TItem>

A processor to process changes for the given `IItem`

Namespace: Microsoft.Azure.CosmosRepository.ChangeFeed
Kind: interface

A processor to process changes for the given IItem

public interface IItemChangeFeedProcessor<in TItem> where TItem : IItem

Type parameters

NameDescription
TItemThe IItem the processor should track changes for.

Example

Members

Method

IItemChangeFeedProcessor<TItem>.HandleAsync(TItem, CancellationToken)

Handles the changes for the given IItem.

ValueTask HandleAsync(TItem item, CancellationToken cancellationToken)

Parameters

NameTypeDescription
item{TItem}The IItem that has changed.
cancellationTokenCancellationTokenThe cancellation token to use when making asynchronous operations.

ReturnsValueTask: The ValueTask representing the asynchronous operation.