Skip to content

Latest commit

 

History

History
155 lines (82 loc) · 3.86 KB

executor_events.commandexecuted.md

File metadata and controls

155 lines (82 loc) · 3.86 KB

Class: CommandExecuted

yajsapi / Exports / executor/events / CommandExecuted

Class: CommandExecuted

executor/events.CommandExecuted

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CommandExecuted(__namedParameters)

Parameters

Name Type
__namedParameters Object

Overrides

CommandEvent.constructor

Defined in

yajsapi/executor/events.ts:328

Properties

agr_id

Optional agr_id: string

Inherited from

CommandEvent.agr_id

Defined in

yajsapi/executor/events.ts:123

cmd_idx

cmd_idx: number

Inherited from

CommandEvent.cmd_idx

Defined in

yajsapi/executor/events.ts:314

command

Optional command: any

Defined in

yajsapi/executor/events.ts:324

message

Optional message: string

Defined in

yajsapi/executor/events.ts:326

stderr

Optional stderr: string

Defined in

yajsapi/executor/events.ts:328

stdout

Optional stdout: string

Defined in

yajsapi/executor/events.ts:327

success

Optional success: boolean

Defined in

yajsapi/executor/events.ts:325

task_id

Optional task_id: null | string

Inherited from

CommandEvent.task_id

Defined in

yajsapi/executor/events.ts:284

Methods

extract_exc_info

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.extract_exc_info

Defined in

yajsapi/executor/events.ts:17