You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refine Korean translations in async-iterators-generators article
- Change section heading from "페이지네이션된 데이터" to "페이지네이션이 적용된 데이터" for more natural Korean phrasing
- Rename smart box header from "내부적인 구조" to "내부 동작의 차이" with improved body text
- Rephrase function* description to improve sentence structure
- Split fetchCommits step 3 into main text and sub-bullet for readability
- Minor wording improvements in inline comments and sandbox note
- 시작 URL은 `https://api.github.com/repos/<repo>/commits`이며, 다음 페이지 URL은 응답의 `Link` 헤더에 담겨 옵니다.
365
365
-`fetch` 메서드를 사용하면 필요 시 인증 정보나 헤더를 함께 전송할 수 있습니다. GitHub는 `User-Agent` 헤더를 필수로 요구합니다.
366
366
2. 커밋은 JSON 형식으로 반환됩니다.
367
-
3. 응답의 `Link` 헤더에서 다음 페이지의 URL을 추출합니다. 헤더의 형식이 특수하여 정규표현식을 사용합니다([정규표현식](info:regular-expressions) 챕터에서 자세히 다룹니다). 다음 페이지 URL은 `https://api.github.com/repositories/93253246/commits?page=2`와 같은 형태로, GitHub가 자체적으로 생성합니다.
368
-
4. 이후 커밋을 하나씩 yield하며, 모두 반환된 뒤에는 다음 `while(url)` 반복이 실행되어 서버에 추가 요청을 보냅니다.
367
+
3. 응답의 `Link` 헤더에서 다음 페이지의 URL을 추출합니다. 헤더의 형식이 특수하여 정규표현식을 사용합니다([정규표현식](info:regular-expressions) 챕터에서 자세히 다룹니다).
368
+
- 다음 페이지 URL은 `https://api.github.com/repositories/93253246/commits?page=2`와 같은 형태로, GitHub가 자체적으로 생성합니다.
369
+
4. 커밋을 하나씩 반환하는데, 전체 다 반환되면 다음 while(url) 반복문이 트리거 되어 서버에 다시 요청을 보냅니다.
0 commit comments