yajsapi / Exports / executor/events / CommandEvent
executor/events.CommandEvent
-
ScriptEvent
↳ CommandEvent
• new CommandEvent(__namedParameters
)
Parameters
Name | Type |
---|---|
__namedParameters |
Object |
Overrides
ScriptEvent.constructor
Defined in
yajsapi/executor/events.ts:314
• Optional
agr_id: string
Inherited from
ScriptEvent.agr_id
Defined in
yajsapi/executor/events.ts:123
• cmd_idx: number
Defined in
yajsapi/executor/events.ts:314
• Optional
task_id: null
| string
Inherited from
ScriptEvent.task_id
Defined in
yajsapi/executor/events.ts:284
▸ extract_exc_info(): [undefined
| null
| Error
, YaEvent]
Extract exception information from this event.
Returns
[undefined
| null
| Error
, YaEvent]
The extracted exception information and a copy of the event without the exception information.
Inherited from
ScriptEvent.extract_exc_info
Defined in