Skip to content

Latest commit

 

History

History
122 lines (66 loc) · 2.51 KB

executor_smartq.consumer.md

File metadata and controls

122 lines (66 loc) · 2.51 KB

Class: Consumer

yajsapi / Exports / executor/smartq / Consumer

Class: Consumer

executor/smartq.Consumer

Type parameters

Name
Item

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Consumer(queue)

Type parameters

Name
Item

Parameters

Name Type
queue SmartQueue

Defined in

yajsapi/executor/smartq.ts:169

Properties

_fetched

Private Optional _fetched: null | Handle

Defined in

yajsapi/executor/smartq.ts:169

_queue

Private _queue: any

Defined in

yajsapi/executor/smartq.ts:168

Methods

[Symbol.asyncIterator]

[Symbol.asyncIterator](): AsyncGenerator<Handle, any, any>

Returns

AsyncGenerator<Handle, any, any>

Defined in

yajsapi/executor/smartq.ts:189

done

done(): null

Returns

null

Defined in

yajsapi/executor/smartq.ts:180

last_item

last_item(): null | Item

Returns

null | Item

Defined in

yajsapi/executor/smartq.ts:185

ready

ready(): Consumer

Returns

Consumer

Defined in

yajsapi/executor/smartq.ts:176