* Convert sync iterable to async iterable.
(source: Iterable<T>)
| 455 | /** |
| 456 | * Convert sync iterable to async iterable. |
| 457 | */ |
| 458 | async function* syncToAsync<T>(source: Iterable<T>): AsyncGenerator<T> { |
| 459 | for (const item of source) { |
| 460 | yield item; |
| 461 | } |
| 462 | } |
| 463 | |
| 464 | /** |
no outgoing calls
no test coverage detected