G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Yagna Contributor Guide
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
Defined in

Properties

agr_id

Optional agr_id: string
Inherited from
Defined in

cmd_idx

cmd_idx: number
Inherited from
Defined in

command

Optional command: any
Defined in

message

Optional message: string
Defined in

stderr

Optional stderr: string
Defined in

stdout

Optional stdout: string
Defined in

success

Optional success: boolean
Defined in

task_id

Optional task_id: null | string
Inherited from
Defined in

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
Defined in
Last modified 1mo ago