Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StructureCollector<T, R, I>

The base structure collector for asynchronously collecting values.

since

0.0.1

Type parameters

  • T: Structure

  • R: [T, unknown]

  • I: EventIterator<R>

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private #iterator

#iterator: I

The event iterator that's yielding values.

since

0.0.1

Protected collected

collected: Cache<string, T> = new Cache<string, T>()

The collected values.

since

0.0.1

Methods

collect

  • collect(): Promise<Cache<string, T>>

Generated using TypeDoc