yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Handle

yajsapi / Exports / executor/smartq / Handle

Class: Handle

executor/smartq.Handle

Type parameters

Name

Item

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Handle(__namedParameters)

Type parameters

Name

Item

Parameters

Name

Type

__namedParameters

Object

Defined in

yajsapi/executor/smartq.ts:9

Properties

_consumer

Private _consumer: null | Consumer

Defined in

yajsapi/executor/smartq.ts:7

_data

Private _data: Item

Defined in

yajsapi/executor/smartq.ts:8

_prev_consumers

Private _prev_consumers: Set<Consumer>

Defined in

yajsapi/executor/smartq.ts:9

Methods

assign_consumer

assign_consumer(consumer): void

Parameters

Name

Type

consumer

Consumer

Returns

void

Defined in

yajsapi/executor/smartq.ts:22

consumer

consumer(): null | Consumer

Returns

null | Consumer

Defined in

yajsapi/executor/smartq.ts:18

data

data(): Item

Returns

Item

Defined in

yajsapi/executor/smartq.ts:27