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 : IItemType parameters
| Name | Description |
|---|---|
TItem | The 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
| Name | Type | Description |
|---|---|---|
item | {TItem} | The IItem that has changed. |
cancellationToken | CancellationToken | The cancellation token to use when making asynchronous operations. |
Returns — ValueTask: The ValueTask representing the asynchronous operation.