> For the complete documentation index, see [llms.txt](https://april.gitbook.io/learning-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://april.gitbook.io/learning-js/chapter-14..md).

# CHAPTER 14. 비동기적 프로그래밍

### 자바스크립트에서 지원하는 비동기적 프로그래밍 방법

1. 콜백
   * 제너레이터나 프라미스 외에도 이벤트 처리 등에 유용하게 쓸 수 있음
2. 프라미스 (promise)
   * 콜백에 의존적임
3. 제너레이터
   * 프라미스나 특수한 콜백과 함께 사용해야함

### 사용자 입력 외에 비동기적 테크닉을 사용해야하는 경우

* Ajax 호출을 비롯한 네트워크의 요청
* 파일을 읽고 쓰는 등의 파일 시스템 작업
* 의도적으로 시간 지연을 사용하는 기능 (알람 등)
