Class FormDataCollector

Form data collector for key value pair streams

Hierarchy

  • FormDataCollector

Implements

  • ICollector<{ key: string; value: any }, FormData>

Constructors

Properties

Methods

Constructors

Properties

finalValue: FormData = ...

the final result after all the collecting is done

Methods

  • this method basically takes a single stream element and does something with it (collecting it one way or the other in most cases)

    Parameters

    • element: { key: string; value: any }
      • key: string
      • value: any

    Returns void

Generated using TypeDoc