G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Yagna Contributor Guide
Class: CommandEventContext
yajsapi / Exports / executor/events / CommandEventContext

Class: CommandEventContext

executor/events.CommandEventContext

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CommandEventContext(evt_cls)
Parameters
Name
Type
evt_cls
any
Defined in

Properties

evt

evt: CommandEvent
Defined in

Methods

computation_finished

computation_finished(last_idx): boolean
Parameters
Name
Type
last_idx
any
Returns
boolean
Defined in

event

event(agr_id, task_id, cmds): CommandEvent
Parameters
Name
Type
agr_id
string
task_id
string
cmds
any[]
Returns
Defined in

fromJson

Static fromJson(json): CommandEventContext
Parameters
Name
Type
json
string
Returns
Defined in
Last modified 1mo ago