HistoryEvent Class
Used to communicate state relevant information from the durable extension to the client.
Constructor
HistoryEvent(EventType: HistoryEventType, EventId: int, IsPlayed: bool, Timestamp: str, **kwargs)
Parameters
| Name | Description |
|---|---|
|
EventType
Required
|
|
|
EventId
Required
|
|
|
IsPlayed
Required
|
|
|
Timestamp
Required
|
|
Attributes
event_id
Get the event ID property.
Returns
| Type | Description |
|---|---|
|
The value that represents the event sequence |
event_type
Get the history event type property.
Returns
| Type | Description |
|---|---|
|
The type of history event |
is_played
Get the is played property.
Returns
| Type | Description |
|---|---|
|
Value indicating whether the event has been played |
is_processed
Get the is process property.
Returns
| Type | Description |
|---|---|
|
Value indicating whether the orchestrator has processed the event |
timestamp
Get the timestamp property.
Returns
| Type | Description |
|---|---|
|
<xref:azure.durable_functions.models.history.datetime>
|
Value indicating the the time the event occurred |