Latest
function default
import { default } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/subscription/mapAsyncIterator.d.ts";

Given an AsyncIterable and a callback function, return an AsyncIterator which produces values mapped via calling the callback function.

Parameters

iterable: AsyncIterable<T>
callback: (arg: T) => PromiseOrValue<U>
optional
rejectCallback: (arg: any) => PromiseOrValue<U>