yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: TaskStarted

yajsapi / Exports / executor/events / TaskStarted

Class: TaskStarted

executor/events.TaskStarted

Hierarchy

  • EventGeneral

    TaskStarted

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TaskStarted(__namedParameters)

Parameters

Name

Type

__namedParameters

Object

Overrides

EventGeneral.constructor

Defined in

yajsapi/executor/events.ts:253

Properties

agr_id

Optional agr_id: string

Inherited from

EventGeneral.agr_id

Defined in

yajsapi/executor/events.ts:123

task_data

Optional task_data: any

Defined in

yajsapi/executor/events.ts:253

task_id

Optional task_id: string

Inherited from

EventGeneral.task_id

Defined in

yajsapi/executor/events.ts:244

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

EventGeneral.extract_exc_info

Defined in

yajsapi/executor/events.ts:17