(
photoNodeIterator: AsyncGenerator<InternalPartialPhotoNode>,
)
| 111 | export async function* convertInternalPhotoNodeIterator( |
| 112 | photoNodeIterator: AsyncGenerator<InternalPartialPhotoNode>, |
| 113 | ): AsyncGenerator<PublicPhotoNode> { |
| 114 | for await (const photoNode of photoNodeIterator) { |
| 115 | yield convertInternalPhotoNode(photoNode); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | export async function* convertInternalMissingPhotoNodeIterator( |
| 120 | photoNodeIterator: AsyncGenerator<InternalPartialPhotoNode | MissingNode>, |
| 121 | ): AsyncGenerator<PublicMaybeMissingPhotoNode> { |
| 122 | for await (const photoNode of photoNodeIterator) { |
no test coverage detected