(
context: Context,
lines: AsyncIterable<string>
)
| 2 | import { Context } from './context'; |
| 3 | |
| 4 | export async function* iterWithNewlines( |
| 5 | context: Context, |
| 6 | lines: AsyncIterable<string> |
| 7 | ) { |
| 8 | for await (const line of lines) { |
| 9 | yield line + os.EOL; |
| 10 | } |
| 11 | } |
no outgoing calls
no test coverage detected