UNPKG

response-iterator

Version:

Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch

2 lines (1 loc) 81 B
export default function asyncIterator<T>(source: any): AsyncIterableIterator<T>;