logo image

Async


thumb image

JS ์—์„œ async ํ•จ์ˆ˜ ๋‹ค๋ฃจ๊ธฐ #2 : async.series & async-series

jsasyncasync.seriesasync-seriescallback-hell

javascript ์—์„œ async.series ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•ด์„œ async ํ•จ์ˆ˜๋ฅผ ํŽธํ•˜๊ฒŒ ํ˜ธ์ถœํ•˜๊ณ  ๊ด€๋ฆฌํ•˜๊ธฐ, async ํ•จ์ˆ˜์˜ ๋™๊ธฐ์  ํ˜ธ์ถœ

thumb image

JS ์—์„œ async ํ•จ์ˆ˜ ๋‹ค๋ฃจ๊ธฐ #1 : async-waterfall

jsasyncasync-waterfallcallback-hell

javascript ์—์„œ async-waterfall ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•ด์„œ async ํ•จ์ˆ˜๋ฅผ ํŽธํ•˜๊ฒŒ ํ˜ธ์ถœํ•˜๊ณ  ๊ด€๋ฆฌํ•˜๊ธฐ, async ํ•จ์ˆ˜์˜ ๋™๊ธฐ์  ํ˜ธ์ถœ