mona-dish
    Preparing search index...

    Class AssocArrayCollector<S>

    collects an assoc stream back to an assoc array

    Type Parameters

    • S

    Implements

    Index
    finalValue: { [key: string]: any } = {}

    the final result after all the collecting is done

    • 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: string | [string, S]

      Returns void