1 | /**
|
2 | * Create an empty iterator.
|
3 | *
|
4 | * @returns A new iterator which yields nothing.
|
5 | *
|
6 | * #### Example
|
7 | * ```typescript
|
8 | * import { empty } from '@lumino/algorithm';
|
9 | *
|
10 | * let stream = empty<number>();
|
11 | *
|
12 | * Array.from(stream); // []
|
13 | * ```
|
14 | */
|
15 | export declare function empty<T>(): IterableIterator<T>;
|