ActionEvent<T>
@blobs/sdk / actions/types / ActionEvent
Defined in: actions/types.ts:175
Payload delivered to ActionEventCallback subscribers.
Type Parameters
T
T = unknown
Result data type for the related action, when applicable.
Properties
type
type:
ActionEventType
Defined in: actions/types.ts:177
The event type that triggered the callback.
action
action:
Action<unknown,unknown,unknown>
Defined in: actions/types.ts:179
The action involved in the event.
result?
optionalresult?:ActionResult<T>
Defined in: actions/types.ts:181
Execution result, present on *:completed/*:failed events.
timestamp
timestamp:
number
Defined in: actions/types.ts:183
Wall-clock timestamp (ms) when the event was emitted.
historyIndex?
optionalhistoryIndex?:number
Defined in: actions/types.ts:185
Index in history stack
historyLength?
optionalhistoryLength?:number
Defined in: actions/types.ts:187
Total history length