yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: SubscriptionCreated

yajsapi / Exports / executor/events / SubscriptionCreated

Class: SubscriptionCreated

executor/events.SubscriptionCreated

Hierarchy

  • YaEvent

    SubscriptionCreated

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

__namedParameters: Object

Returns: SubscriptionCreated

Inherited from: YaEvent

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

Properties

sub_id

Optional sub_id: undefined | string

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

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: YaEvent

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