PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/graphql/execution

Просмотр файла: mapAsyncIterator.d.ts

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>;

Выполнить команду


Для локальной разработки. Не используйте в интернете!