Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataGenerator<T, K>

Abstract base class for all data generators. Defines a generate function that is used to create new instances of data host.

Type parameters

  • T

    Generator data type

  • K

    Generator options type

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • Parameters

    • args: K

    Returns DataGenerator

Methods

generate

  • Generate new instance of DataHost with unique data. Data is added to the DataHost asynchronously.

    Returns DataHost<T>

    A new DataHost.