GadgetCompleteEvent
Defined in: core/execution-events.ts:123
Emitted when gadget execution completes successfully.
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalcost:number
Defined in: core/execution-events.ts:134
Cost in USD
depth:
number
Defined in: core/execution-events.ts:33
Nesting depth (0 = root, 1 = child, etc.)
Inherited from
Section titled “Inherited from”eventId
Section titled “eventId”eventId:
number
Defined in: core/execution-events.ts:25
Monotonically increasing event ID
Inherited from
Section titled “Inherited from”executionTimeMs
Section titled “executionTimeMs”executionTimeMs:
number
Defined in: core/execution-events.ts:132
Execution time in ms
invocationId
Section titled “invocationId”invocationId:
string
Defined in: core/execution-events.ts:126
Invocation ID
media?
Section titled “media?”
optionalmedia:GadgetMediaOutput[]
Defined in: core/execution-events.ts:136
Media outputs
name:
string
Defined in: core/execution-events.ts:128
Gadget name
nodeId
Section titled “nodeId”nodeId:
string
Defined in: core/execution-events.ts:29
Node that emitted this event
Inherited from
Section titled “Inherited from”parentId
Section titled “parentId”parentId:
string|null
Defined in: core/execution-events.ts:31
Parent node ID (null for root events)
Inherited from
Section titled “Inherited from”path:
string[]
Defined in: core/execution-events.ts:35
Full path from root to this node
Inherited from
Section titled “Inherited from”result
Section titled “result”result:
string
Defined in: core/execution-events.ts:130
Result string
timestamp
Section titled “timestamp”timestamp:
number
Defined in: core/execution-events.ts:27
Event timestamp
Inherited from
Section titled “Inherited from”type:
"gadget_complete"
Defined in: core/execution-events.ts:124