UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

20 lines (14 loc) 434 B
type NextFunction<V> = () => IteratorResult<V>; export default class Iterator<V> implements IterableIterator<V> { // Constructor constructor(next: NextFunction<V>); // Members done: boolean; // Well-known methods next(): IteratorResult<V>; [Symbol.iterator](): IterableIterator<V>; // Static methods static of<T>(...args: T[]): Iterator<T>; static empty<T>(): Iterator<T>; static is(value: any): boolean; }