Package version:

Class ChangeFeedResponse<T>

A single response page from the Azure Cosmos DB Change Feed

Type Parameters

  • T

Properties

count: number

Gets the number of items returned in the response from Azure Cosmos DB

diagnostics: CosmosDiagnostics
headers: CosmosHeaders

Response headers of the response from Azure Cosmos DB

result: T

Gets the items returned in the response from Azure Cosmos DB

statusCode: number

Gets the status code of the response from Azure Cosmos DB

Accessors

  • get etag(): string
  • Gets the entity tag associated with last transaction in the Azure Cosmos DB service, which can be used as If-Non-Match Access condition for ReadFeed REST request or continuation property of ChangeFeedOptions parameter for Items.changeFeed() to get feed changes since the transaction specified by this entity tag.

    This is equivalent to the continuation property.

    Returns string