- Preparing search index...
- The search index is not available
apache-beam
Function assertContentsSatisfies
- assertContentsSatisfies<T>(check: ((actual: T[]) => void)): PTransform<PCollection<T>, void>
-
Parameters
-
check: ((actual: T[]) => void)
-
- (actual: T[]): void
-
Returns void
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.