yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: TaskAccepted

yajsapi / Exports / executor/events / TaskAccepted

Class: TaskAccepted

executor/events.TaskAccepted

Hierarchy

  • TaskEvent

    TaskAccepted

Table of contents

Constructors

Properties

Methods

Constructors

constructor

  • new TaskAccepted(__namedParameters: Object): TaskAccepted

Parameters:

__namedParameters: Object

Returns: TaskAccepted

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

Properties

result

Optional result: any

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

task_id

Optional task_id: undefined | string

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

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.

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