Programming/JavaScript & TypeScript

제너레이터 (generator)

Bonita SY 2021. 1. 13. 19:18
728x90
반응형

https://radlohead.gitbook.io/typescript-deep-dive/future-javascript/generators

 

제네레이터

 

radlohead.gitbook.io

 

https://thecodebarbarian.com/async-generator-functions-in-javascript.html

 

Async Generator Functions in JavaScript

The TC39 async iterators proposal that brought for/await/of to JavaScript also introduced the concept of an async generator function. Now, JavaScript has 6 distinct types of functions: Normal functions function() {} Arrow functions () => {} Async functions

thecodebarbarian.com

 

https://dev.to/hyunjaesung/web-js-generator-iterator-async-await-921

 

[JS] 비동기프로그래밍 - generator, iterator, async/await

Iterator 배열이나 유사한 자료구조 내부를 순회하는 객체이다 iterable, iterator 두가지 iterable protocol이 존재...

dev.to

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-6.html

 

Documentation - TypeScript 3.6

TypeScript 3.6 Release Notes

www.typescriptlang.org

https://ko.javascript.info/async-iterators-generators

 

async 이터레이터와 제너레이터

 

ko.javascript.info

 

https://thecodebarbarian.com/async-generator-functions-in-javascript.html

 

Async Generator Functions in JavaScript

The TC39 async iterators proposal that brought for/await/of to JavaScript also introduced the concept of an async generator function. Now, JavaScript has 6 distinct types of functions: Normal functions function() {} Arrow functions () => {} Async functions

thecodebarbarian.com

 

728x90
반응형