yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: default

yajsapi / Exports / utils/cancellationToken / default

Class: default

utils/cancellationToken.default

Hierarchy

  • default

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new default(parent?: any): default

Parameters:

Name

Type

parent?

any

Returns: default

Defined in: yajsapi/utils/cancellationToken.ts:3

Properties

_cancelled

Private _cancelled: boolean

Defined in: yajsapi/utils/cancellationToken.ts:3

_parent

Private _parent: any

Defined in: yajsapi/utils/cancellationToken.ts:2

Accessors

cancelled

cancelled(): boolean

Returns: boolean

Defined in: yajsapi/utils/cancellationToken.ts:9

Methods

cancel

cancel(): void

Returns: void

Defined in: yajsapi/utils/cancellationToken.ts:16