{"blog_url":"https://tyru.hatenablog.com/","author_name":"tyru","url":"https://tyru.hatenablog.com/entry/2018/08/04/220530","author_url":"https://blog.hatena.ne.jp/tyru/","description":"\u4f55\u3092\u5f53\u305f\u308a\u524d\u306e\u3053\u3068\u3092\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u52d8\u9055\u3044\u3057\u3066\u305f\u306e\u3067\u6065\u3092\u6652\u3057\u3066\u304a\u304d\u307e\u3059\u3002 \u3053\u3093\u306a\u4f7f\u3044\u65b9\u3059\u308b\u4eba\u3044\u308b\u306e\u304b \"no-async-promise-executor - Rules - ESLint - Pluggable JavaScript linter\" https://t.co/BJy6aqMYQ0\u2014 azu (@azu_re) 2018\u5e748\u67084\u65e5 const result = new Promise(async function executor(resolve, reject) { readFile('foo.txt', function(err, result) { if (err\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftyru.hatenablog.com%2Fentry%2F2018%2F08%2F04%2F220530\" title=\"Promise \u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306b\u6e21\u3057\u305f async function \u5185\u3067 throw \u3057\u3066\u3082 rejected \u306a Promise \u306f\u4f5c\u3089\u308c\u306a\u3044\uff08\u5e38\u306b fulfilled \u306b\u306a\u308b\uff09 - Humanity\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","type":"rich","width":"100%","version":"1.0","blog_title":"Humanity","provider_url":"https://hatena.blog","image_url":null,"title":"Promise \u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306b\u6e21\u3057\u305f async function \u5185\u3067 throw \u3057\u3066\u3082 rejected \u306a Promise \u306f\u4f5c\u3089\u308c\u306a\u3044\uff08\u5e38\u306b fulfilled \u306b\u306a\u308b\uff09","categories":["JavaScript"],"published":"2018-08-04 22:05:30"}