Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeneratorLazyLoading<G>

generator for a lazy loadable

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • lazy loadanble generator constructor

    Parameters

    • Optional generator: G

      the generator that represents the value that will be generated to be lazy loaded

    • Default value filename: string | undefined = undefined

      the optional name of the file that should be generated to load from

    Returns GeneratorLazyLoading

Properties

Private filename

filename: string | undefined

the optional name of the file that should be generated to load from

Protected generatorSubject

generatorSubject: Subject<G>

result

result: Observable<GeneratedResult>

Methods

observeFiles

  • observeFiles(mainFileName?: string): Observable<File[]>

update

  • update(generator: G): void
  • change the value to be lazy loaded (each update emits a new value and result)

    Parameters

    • generator: G

      the new value

    Returns void

Generated using TypeDoc