Function mapToValueAndChangedProperties

  • Maps source to source and a partial source with changed properties.

    marble

    Example:

    source: a-b-c|
    output: d-e-f|

    with

    a = { a: 1 } b = { a: 2, b: 3 } c = { a: 2, b: 4 } d = [{ a: 1 }, { a: 1 }] e = [{ a: 2, b: 3 }, { a: 2, b: 3 }] f = [{ a: 2, b: 4 }, { b: 4 }]

    Type Parameters

    • T

    Returns ((source) => Observable<[T, Partial<T>]>)

      • (source): Observable<[T, Partial<T>]>
      • Parameters

        • source: Observable<T>

        Returns Observable<[T, Partial<T>]>

Generated using TypeDoc