EntityStateResponse class

The response returned by DurableClient.readEntityState().

Constructors

EntityStateResponse<T>(boolean, T)

Properties

entityExists

Whether this entity exists or not.

entityState

The current state of the entity, if it exists, or default value otherwise.

Constructor Details

EntityStateResponse<T>(boolean, T)

new EntityStateResponse(entityExists: boolean, entityState?: T)

Parameters

entityExists

boolean

Whether this entity exists or not.

entityState

T

The current state of the entity, if it exists, or default value otherwise.

Property Details

entityExists

Whether this entity exists or not.

entityExists: boolean

Property Value

boolean

entityState

The current state of the entity, if it exists, or default value otherwise.

entityState?: T

Property Value

T