yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: default

yajsapi / Exports / utils/cancellationToken / default

Class: default

utils/cancellationToken.default

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new default(parent?)

Parameters

Name

Type

parent?

any

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

get cancelled(): boolean

Returns

boolean

Defined in

yajsapi/utils/cancellationToken.ts:9

Methods

cancel

cancel(): void

Returns

void

Defined in

yajsapi/utils/cancellationToken.ts:16