flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
BACK_BACK/node_modules/graphql/subscription/mapAsyncIterator.d.ts
generated
vendored
Executable file
11
BACK_BACK/node_modules/graphql/subscription/mapAsyncIterator.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
import { PromiseOrValue } from '../jsutils/PromiseOrValue';
|
||||
|
||||
/**
|
||||
* Given an AsyncIterable and a callback function, return an AsyncIterator
|
||||
* which produces values mapped via calling the callback function.
|
||||
*/
|
||||
export default function mapAsyncIterator<T, U>(
|
||||
iterable: AsyncIterable<T>,
|
||||
callback: (arg: T) => PromiseOrValue<U>,
|
||||
rejectCallback?: (arg: any) => PromiseOrValue<U>,
|
||||
): any; // TS_SPECIFIC: AsyncGenerator requires typescript@3.6
|
||||
Loading…
Add table
Add a link
Reference in a new issue