yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: Handle

yajsapi / Exports / executor/smartq / Handle

Class: Handle

executor/smartq.Handle

Type parameters

Name

Item

Hierarchy

  • Handle

Table of contents

Constructors

Properties

Methods

Constructors

constructor

  • new Handle(__namedParameters: Object): Handle

Type parameters:

Name

Item

Parameters:

__namedParameters: Object

Returns: Handle

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