Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChangeFeedResponse<T>

A single response page from the Azure Cosmos DB Change Feed

Type parameters

  • T

Hierarchy

  • ChangeFeedResponse

Index

Properties

count

count: number

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

headers

headers: CosmosHeaders

Response headers of the response from Azure Cosmos DB

result

result: T

Gets the items returned in the response from Azure Cosmos DB

statusCode

statusCode: number

Gets the status code of the response from Azure Cosmos DB

Accessors

activityId

  • get activityId(): string
  • Gets the activity ID for the request from the Azure Cosmos DB service.

    Returns string

continuation

  • get continuation(): string
  • Gets the continuation token to be used for continuing enumeration of the Azure Cosmos DB service.

    This is equivalent to the etag property.

    Returns string

etag

  • 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.readChangeFeed() to get feed changes since the transaction specified by this entity tag.

    This is equivalent to the continuation property.

    Returns string

requestCharge

  • get requestCharge(): number
  • Gets the request charge for this request from the Azure Cosmos DB service.

    Returns number

sessionToken

  • get sessionToken(): string
  • Gets the session token for use in session consistency reads from the Azure Cosmos DB service.

    Returns string

Generated using TypeDoc