pub fn join<P: Pattern>(
pp: impl Pattern<Value = P>,
) -> impl Pattern<Value = P::Value>Expand description
Joins a pattern of patterns into a single pattern.
- When queried, get the events from the outer pattern.
- Query the inner pattern using the active of the outer.
- For each inner event, set the whole and active to be the intersection of the outer whole and part respectively.
- Concatenate all the events together (discarding whole/parts that don’t intersect).