Function stack

Source
pub fn stack<I>(
    patterns: I,
) -> impl Pattern<Value = <I::Item as Pattern>::Value>
where I: IntoIterator, I::Item: Pattern,
Expand description

Combine the patterns into a single “stacked” pattern, where each query is equivalent to querying each of the inner patterns and concatenating their produced events.