Initialisation
Added the packages and files for the backend server
This commit is contained in:
9
node_modules/graphql/execution/mapAsyncIterator.d.ts
generated
vendored
Normal file
9
node_modules/graphql/execution/mapAsyncIterator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { PromiseOrValue } from '../jsutils/PromiseOrValue';
|
||||
/**
|
||||
* Given an AsyncIterable and a callback function, return an AsyncIterator
|
||||
* which produces values mapped via calling the callback function.
|
||||
*/
|
||||
export declare function mapAsyncIterator<T, U, R = undefined>(
|
||||
iterable: AsyncGenerator<T, R, void> | AsyncIterable<T>,
|
||||
callback: (value: T) => PromiseOrValue<U>,
|
||||
): AsyncGenerator<U, R, void>;
|
||||
Reference in New Issue
Block a user