yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: YaEvent

yajsapi / Exports / executor/events / YaEvent

Class: YaEvent

executor/events.YaEvent

An abstract base class for types of events emitted by Executor.submit().

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

Returns: YaEvent

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

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