11. Promise
Promise is a JavaScript object for asynchronous operation state: pending -> fulfilled or rejected Producer vs Consumer 1. Producer when new Promise is created, the executor runs automatically const promise = new Promise((resolve, reject) => { // doing some heavy work (network, read files) console.log('doing something....'); setTimeout(() => { // resolve('ellie'); reject(new Error('no network'));..
JavaScript & TypeScript
2020. 11. 15. 15:22
링크
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 이펙티브자바
- js promise
- BOJ
- REST API
- JS 딥다이브
- Spring Security
- ㅇㄷㅇㅈ
- 이펙티브자바 아이템60
- GCP
- dreamcoding
- JPA 연관관계 매핑
- 모던자바스크립트
- 이펙티브자바 아이템59
- 패스트캠퍼스 컴퓨터공학 완주반
- 킹수빈닷컴
- 백준
- java
- 이펙티브자바 스터디
- 프로그래머스 SQL
- 백기선 스터디
- 드림코딩
- js array
- HTTP 완벽가이드
- 김영한 JPA
- 프로그래머스
- HTTP 완벽 가이드
- http
- 김영한 http
- js api
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함