1 | import { IterableX } from './iterablex';
|
2 | export declare class ConcatIterable<TSource> extends IterableX<TSource> {
|
3 | private _source;
|
4 | constructor(source: Iterable<Iterable<TSource>>);
|
5 | [Symbol.iterator](): Generator<TSource, void, undefined>;
|
6 | }
|
7 | export declare function concat<T>(v1: Iterable<T>): IterableX<T>;
|
8 | /**
|
9 | * Concatenates the second iterable sequence to the first iterable sequence upon successful termination of the first.
|
10 | *
|
11 | * @export
|
12 | * @template T The type of the elements in the first source sequence.
|
13 | * @template T2 The type of the elements in the second source sequence.
|
14 | * @param {Iterable<T>} v1 First iterable source.
|
15 | * {Iterable<T2>} v2 Second iterable source.
|
16 | * {(IterableX<T | T2>)} An iterable sequence that contains the elements of the first sequence,
|
17 | * followed by those of the second the sequence.
|
18 | */
|
19 | export declare function concat<T, T2>(v1: Iterable<T>, v2: Iterable<T2>): IterableX<T | T2>;
|
20 | /**
|
21 | * Concatenates all iterable sequences in the given sequences, as long as the previous iterable
|
22 | * sequence terminated successfully.
|
23 | *
|
24 | * @export
|
25 | * @template T The type of the elements in the first source sequence.
|
26 | * @template T2 The type of the elements in the second source sequence.
|
27 | * @template T3 The type of the elements in the third source sequence.
|
28 | * @param {Iterable<T>} v1 First iterable source.
|
29 | * @param {Iterable<T2>} v2 Second iterable source.
|
30 | * @param {Iterable<T3>} v3 Third iterable source.
|
31 | * @returns {(IterableX<T | T2 | T3>)} An iterable sequence that contains the elements of each given sequence, in sequential order.
|
32 | */
|
33 | export declare function concat<T, T2, T3>(v1: Iterable<T>, v2: Iterable<T2>, v3: Iterable<T3>): IterableX<T | T2 | T3>;
|
34 | /**
|
35 | * Concatenates all iterable sequences in the given sequences, as long as the previous iterable
|
36 | * sequence terminated successfully.
|
37 | *
|
38 | * @export
|
39 | * @template T The type of the elements in the first source sequence.
|
40 | * @template T2 The type of the elements in the second source sequence.
|
41 | * @template T3 The type of the elements in the third source sequence.
|
42 | * @template T4 The type of the elements in the fourth source sequence.
|
43 | * @param {Iterable<T>} v1 First iterable source.
|
44 | * @param {Iterable<T2>} v2 Second iterable source.
|
45 | * @param {Iterable<T3>} v3 Third iterable source.
|
46 | * @param {Iterable<T4>} v4 Fourth iterable source.
|
47 | * @returns {(IterableX<T | T2 | T3 | T4>)} An iterable sequence that contains the elements of each given sequence, in sequential order.
|
48 | */
|
49 | export declare function concat<T, T2, T3, T4>(v1: Iterable<T>, v2: Iterable<T2>, v3: Iterable<T3>, v4: Iterable<T4>): IterableX<T | T2 | T3 | T4>;
|
50 | /**
|
51 | * Concatenates all iterable sequences in the given sequences, as long as the previous iterable
|
52 | * sequence terminated successfully.
|
53 | *
|
54 | * @export
|
55 | * @template T The type of the elements in the first source sequence.
|
56 | * @template T2 The type of the elements in the second source sequence.
|
57 | * @template T3 The type of the elements in the third source sequence.
|
58 | * @template T4 The type of the elements in the fourth source sequence.
|
59 | * @template T5 The type of the elements in the fifth source sequence.
|
60 | * @param {Iterable<T>} v1 First iterable source.
|
61 | * @param {Iterable<T2>} v2 Second iterable source.
|
62 | * @param {Iterable<T3>} v3 Third iterable source.
|
63 | * @param {Iterable<T4>} v4 Fourth iterable source.
|
64 | * @param {Iterable<T5>} v5 Fifth iterable source.
|
65 | * @returns {(Iterable<T | T2 | T3 | T4 | T5>)} An iterable sequence that contains the elements of each given sequence, in sequential order.
|
66 | */
|
67 | export declare function concat<T, T2, T3, T4, T5>(v1: Iterable<T>, v2: Iterable<T2>, v3: Iterable<T3>, v4: Iterable<T4>, v5: Iterable<T5>): Iterable<T | T2 | T3 | T4 | T5>;
|
68 | /**
|
69 | * Concatenates all iterable sequences in the given sequences, as long as the previous iterable
|
70 | * sequence terminated successfully.
|
71 | *
|
72 | * @export
|
73 | * @template T The type of the elements in the first source sequence.
|
74 | * @template T2 The type of the elements in the second source sequence.
|
75 | * @template T3 The type of the elements in the third source sequence.
|
76 | * @template T4 The type of the elements in the fourth source sequence.
|
77 | * @template T5 The type of the elements in the fifth source sequence.
|
78 | * @template T6 The type of the elements in the sixth source sequence.
|
79 | * @param {Iterable<T>} v1 First iterable source.
|
80 | * @param {Iterable<T2>} v2 Second iterable source.
|
81 | * @param {Iterable<T3>} v3 Third iterable source.
|
82 | * @param {Iterable<T4>} v4 Fourth iterable source.
|
83 | * @param {Iterable<T5>} v5 Fifth iterable source.
|
84 | * @param {Iterable<T6>} v6 Sixth iterable source.
|
85 | * @returns {(Iterable<T | T2 | T3 | T4 | T5 | T6>)} An iterable sequence that contains the elements of each given sequence, in sequential order.
|
86 | */
|
87 | export declare function concat<T, T2, T3, T4, T5, T6>(v1: Iterable<T>, v2: Iterable<T2>, v3: Iterable<T3>, v4: Iterable<T4>, v5: Iterable<T5>, v6: Iterable<T6>): Iterable<T | T2 | T3 | T4 | T5 | T6>;
|