1 | import { IterableX } from './iterablex';
|
2 | export declare class ZipIterable<TSource> extends IterableX<TSource[]> {
|
3 | private _sources;
|
4 | constructor(sources: Iterable<TSource>[]);
|
5 | [Symbol.iterator](): IterableIterator<TSource[]>;
|
6 | }
|
7 | /**
|
8 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
9 | *
|
10 | * @export
|
11 | * @template T The type of the first async-iterable sequence.
|
12 | * @template T2 The type of the second async-iterable sequence.
|
13 | * @param {Iterable<T>} source The first async-iterable source.
|
14 | * async-iterable source.
{Iterable<T2>} source2 The second |
15 | * with an array of each element from the source sequences in a pairwise fashion.
{IterableX<[T, T2]>} Async iterable |
16 | */
|
17 | export declare function zip<T, T2>(source: Iterable<T>, source2: Iterable<T2>): IterableX<[T, T2]>;
|
18 | /**
|
19 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
20 | *
|
21 | * @export
|
22 | * @template T The type of the first async-iterable sequence.
|
23 | * @template T2 The type of the second async-iterable sequence.
|
24 | * @template T3 The type of the third async-iterable sequence.
|
25 | * @param {Iterable<T>} source The first async-iterable source.
|
26 | * @param {Iterable<T2>} source2 The second async-iterable source.
|
27 | * @param {Iterable<T3>} source3 The third async-iterable source.
|
28 | * @returns {IterableX<[T, T2, T3]>} Async iterable with an array of each element from the source sequences in a pairwise fashion.
|
29 | */
|
30 | export declare function zip<T, T2, T3>(source: Iterable<T>, source2: Iterable<T2>, source3: Iterable<T3>): IterableX<[T, T2, T3]>;
|
31 | /**
|
32 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
33 | *
|
34 | * @export
|
35 | * @template T The type of the first async-iterable sequence.
|
36 | * @template T2 The type of the second async-iterable sequence.
|
37 | * @template T3 The type of the third async-iterable sequence.
|
38 | * @template T4 The type of the fourth async-iterable sequence.
|
39 | * @param {Iterable<T>} source The first async-iterable source.
|
40 | * @param {Iterable<T2>} source2 The second async-iterable source.
|
41 | * @param {Iterable<T3>} source3 The third async-iterable source.
|
42 | * @param {Iterable<T4>} source4 The fourth async-iterable source.
|
43 | * @returns {IterableX<[T, T2, T3, T4]>} Async iterable with an array of each element from the source sequences in a pairwise fashion.
|
44 | */
|
45 | export declare function zip<T, T2, T3, T4>(source: Iterable<T>, source2: Iterable<T2>, source3: Iterable<T3>, source4: Iterable<T4>): IterableX<[T, T2, T3, T4]>;
|
46 | /**
|
47 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
48 | *
|
49 | * @export
|
50 | * @template T The type of the first async-iterable sequence.
|
51 | * @template T2 The type of the second async-iterable sequence.
|
52 | * @template T3 The type of the third async-iterable sequence.
|
53 | * @template T4 The type of the fourth async-iterable sequence.
|
54 | * @template T5 The type of the fifth async-iterable sequence.
|
55 | * @param {Iterable<T>} source The first async-iterable source.
|
56 | * @param {Iterable<T2>} source2 The second async-iterable source.
|
57 | * @param {Iterable<T3>} source3 The third async-iterable source.
|
58 | * @param {Iterable<T4>} source4 The fourth async-iterable source.
|
59 | * @param {Iterable<T5>} source5 The fifth async-iterable source.
|
60 | * @returns {IterableX<[T, T2, T3, T4, T5]>} Async iterable with an array of each element from the source sequences in a pairwise fashion.
|
61 | */
|
62 | export declare function zip<T, T2, T3, T4, T5>(source: Iterable<T>, source2: Iterable<T2>, source3: Iterable<T3>, source4: Iterable<T4>, source5: Iterable<T5>): IterableX<[T, T2, T3, T4, T5]>;
|
63 | /**
|
64 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
65 | *
|
66 | * @export
|
67 | * @template T The type of the first async-iterable sequence.
|
68 | * @template T2 The type of the second async-iterable sequence.
|
69 | * @template T3 The type of the third async-iterable sequence.
|
70 | * @template T4 The type of the fourth async-iterable sequence.
|
71 | * @template T5 The type of the fifth async-iterable sequence.
|
72 | * @template T6 The type of the sixth async-iterable sequence.
|
73 | * @param {Iterable<T>} source The first async-iterable source.
|
74 | * @param {Iterable<T2>} source2 The second async-iterable source.
|
75 | * @param {Iterable<T3>} source3 The third async-iterable source.
|
76 | * @param {Iterable<T4>} source4 The fourth async-iterable source.
|
77 | * @param {Iterable<T5>} source5 The fifth async-iterable source.
|
78 | * @param {Iterable<T6>} source6 The sixth async-iterable source.
|
79 | * @returns {IterableX<[T, T2, T3, T4, T5, T6]>} Async iterable with an array of each element from the source sequences in a pairwise fashion.
|
80 | */
|
81 | export declare function zip<T, T2, T3, T4, T5, T6>(source: Iterable<T>, source2: Iterable<T2>, source3: Iterable<T3>, source4: Iterable<T4>, source5: Iterable<T5>, source6: Iterable<T6>): IterableX<[T, T2, T3, T4, T5, T6]>;
|
82 | /**
|
83 | * Merges multiple iterable sequences into one iterable sequence by combining their elements in a pairwise fashion.
|
84 | *
|
85 | * @export
|
86 | * @template T The type of elements in the source sequences.
|
87 | * @param {...Iterable<T>[]} sources The source sequences.
|
88 | * @returns {IterableX<T[]>} Async iterable with an array of each element from the source sequences in a pairwise fashion.
|
89 | */
|
90 | export declare function zip<T>(...sources: Iterable<T>[]): IterableX<T[]>;
|