yajsapi / Exports / executor/events / CommandExecuted
executor/events.CommandExecuted
↳ CommandExecuted
new CommandExecuted(__namedParameters
: Object): CommandExecuted
Parameters:
• __namedParameters: Object
Returns: CommandExecuted
Inherited from: CommandEvent
Defined in: yajsapi/executor/events.ts:324
• Optional
agr_id: undefined | string
Inherited from: CommandEvent.agr_id
Defined in: yajsapi/executor/events.ts:123
• cmd_idx: number
Inherited from: CommandEvent.cmd_idx
Defined in: yajsapi/executor/events.ts:312
• Optional
command: any
Defined in: yajsapi/executor/events.ts:322
• Optional
message: undefined | string
Defined in: yajsapi/executor/events.ts:324
• Optional
success: undefined | boolean
Defined in: yajsapi/executor/events.ts:323
• Optional
task_id: undefined | null | string
Inherited from: CommandEvent.task_id
Defined in: yajsapi/executor/events.ts:282
▸ 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: CommandEvent
Defined in: yajsapi/executor/events.ts:17