Function assertContentsSatisfies

  • A PTransform that will fail the pipeline if the given callback fails when called with the input PCollection's elements.

    Note that the callback must not be sensitive to ordering, as the ordering of the provided elements is not well determined.

    Type Parameters

    • T

    Parameters

    • check: ((actual: T[]) => void)
        • (actual: T[]): void
        • Parameters

          • actual: T[]

          Returns void

    Returns PTransform<PCollection<T>, void>

Generated using TypeDoc