Files
Job_App/node_modules/graphql/subscription/asyncIteratorReject.d.ts
2025-03-28 12:30:19 +11:00

7 lines
204 B
TypeScript

/**
* Given an error, returns an AsyncIterable which will fail with that error.
*
* Similar to Promise.reject(error)
*/
export default function asyncIteratorReject(error: Error): AsyncIterator<void>;