yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: CommandEventContext

yajsapi / Exports / executor/events / CommandEventContext

Class: CommandEventContext

executor/events.CommandEventContext

Hierarchy

  • CommandEventContext

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

Name

Type

evt_cls

any

Returns: CommandEventContext

Defined in: yajsapi/executor/events.ts:335

Properties

evt

evt: CommandEvent

Defined in: yajsapi/executor/events.ts:335

Methods

computation_finished

computation_finished(last_idx: any): boolean

Parameters:

Name

Type

last_idx

any

Returns: boolean

Defined in: yajsapi/executor/events.ts:389

event

event(agr_id: string, task_id: string, cmds: any[]): CommandEvent

Parameters:

Name

Type

agr_id

string

task_id

string

cmds

any[]

Returns: CommandEvent

Defined in: yajsapi/executor/events.ts:399

fromJson

StaticfromJson(json: string): CommandEventContext

Parameters:

Name

Type

json

string

Returns: CommandEventContext

Defined in: yajsapi/executor/events.ts:340