Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeneratorShare<G>

generator for a share

Type parameters

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • share generator constructor

    Parameters

    • Optional generator: G

      the generator that represents the value that will be generated to be a constant value in code

    Returns GeneratorShare

Properties

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 shared (each update emits a new value and result)

    Parameters

    • generator: G

      the new value

    Returns void

Generated using TypeDoc