1 | /**
|
2 | * Chain together several iterables.
|
3 | *
|
4 | * @deprecated
|
5 | *
|
6 | * @param objects - The iterable objects of interest.
|
7 | *
|
8 | * @returns An iterator which yields the values of the iterables
|
9 | * in the order in which they are supplied.
|
10 | *
|
11 | * #### Example
|
12 | * ```typescript
|
13 | * import { chain } from '@lumino/algorithm';
|
14 | *
|
15 | * let data1 = [1, 2, 3];
|
16 | * let data2 = [4, 5, 6];
|
17 | *
|
18 | * let stream = chain(data1, data2);
|
19 | *
|
20 | * Array.from(stream); // [1, 2, 3, 4, 5, 6]
|
21 | * ```
|
22 | */
|
23 | export declare function chain<T>(...objects: Iterable<T>[]): IterableIterator<T>;
|