@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
10 lines • 408 B
TypeScript
import { $$asyncIterator } from 'iterall';
declare type AsyncIterator<T> = {
next(value?: any): Promise<IteratorResult<T>>;
return(): any;
throw(error: any): any;
[$$asyncIterator]: any;
};
export declare const createAsyncIterator: <T = any>(lazyFactory: Promise<AsyncIterator<T>>, filterFn: Function) => Promise<AsyncIterator<T>>;
export {};
//# sourceMappingURL=async-iterator.util.d.ts.map