並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 12 件 / 12件

新着順 人気順

Promisesの検索結果1 - 12 件 / 12件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

Promisesに関するエントリは12件あります。 javascripttechfeedpromise などが関連タグです。 人気エントリには 『Timers Promises API が最高 - Panda Noir』などがあります。
  • Timers Promises API が最高 - Panda Noir

    名前から既にワクワクするこのAPIは、なんとPromiseを返すsetTimeout、setInterval関数を提供しています!最高です… というわけで今回はそれの紹介です。 基本的な使い方 await setTimeout(1000) ←これができるんです!素晴らしくないですか?? top-level await や for-awaitと組み合わせるとこんな感じで書けます import { setTimeout } from 'timers/promises'; console.log('start'); await setTimeout(1000); // これでいける!! console.log('1s passed'); import { setInterval } from 'timers/promises'; console.log('start'); for await (

      Timers Promises API が最高 - Panda Noir
    • 12.2.1. Promises · Functional Programming in OCaml

      Promises In Lwt, a promise is a write-once reference: a value that is permitted to mutate at most once. When created, it is like an empty box that contains nothing. We say that the promise is pending. Eventually the promise can be resolved, which is like putting something inside the box. Instead of being resolved, the promise can instead be rejected, in which case the box is filled with an excepti

      • RFC: First class support for promises and async/await by acdlite · Pull Request #229 · reactjs/rfcs

        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

          RFC: First class support for promises and async/await by acdlite · Pull Request #229 · reactjs/rfcs
        • Naomi Kawase’s Olympic film promises to be like nothing you’ve ever seen before | CNN

          Naomi Kawase is on her phone in the back of a taxi, squeezing in this interview on the way to another shoot. For a director known for her lyrical brand of filmmaking, she talks at a clip; time is pressing, understandable as the days edge closer to the opening of the Tokyo 2020 Olympics. The Japanese auteur, the nation’s most famous female director, is deep into the production of her official film

            Naomi Kawase’s Olympic film promises to be like nothing you’ve ever seen before | CNN
          • 2021-03-23のJS: Node.js 15.12.0(fs.promisesのパフォーマンス改善)、strict CSP、CSS Auditing Tools

            JSer.info #532 - Node.js 15.12.0がリリースされました。 Node v15.12.0 (Current) | Node.js fsのreadFile/writeFileに対してPromise版のfs.promisesのreadFile/writeFileが遅くなるというIssueがあります。 fs.promises.readFile is 40% slower than fs.readFile · Issue #37583 · nodejs/node Node.js 15.12.0ではこのパフォーマンス問題への改善が含まれています。 fs: improve fsPromises readFile performance by Linkgoron · Pull Request #37608 · nodejs/node fs: improve fsPromises

              2021-03-23のJS: Node.js 15.12.0(fs.promisesのパフォーマンス改善)、strict CSP、CSS Auditing Tools
            • Upcoming RISC-V laptop promises free silicon upgrades

              The world's first laptop to use the RISC-V open source instruction set architecture (ISA) will reportedly start shipping in September. The Roma laptop is available for preorder on Xcalibyte's website, but the site merely takes interested parties' information without providing much detail or any pricing. The laptop will start shipping in September, according to spokespeople from Xcalibyte, which di

                Upcoming RISC-V laptop promises free silicon upgrades
              • typescript-eslint/no-floating-promises.md at main · typescript-eslint/typescript-eslint

                A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

                  typescript-eslint/no-floating-promises.md at main · typescript-eslint/typescript-eslint
                • Twitter suspends @ElonJet after Musk promises not to ban it

                  Twitter suspends @ElonJet after Musk promises not to ban itThe creator of @ElonJet claimed it had been quietly restricted by Twitter last week; now, the account is banned for real. The creator of @ElonJet claimed it had been quietly restricted by Twitter last week; now, the account is banned for real.

                    Twitter suspends @ElonJet after Musk promises not to ban it
                  • LOREN ALLRED × NOBUO UEMATSU conTIKI - No Promises to Keep / THE FIRST TAKE

                    THE FIRST TAKE is a YouTube Channel dedicated to shooting musicians and singers performing in a single take. Episode 416 showcases the first performance by Loren Allred, who amazed the world with her incredible talents on “Never Enough,” which was featured in the blockbuster musical film The Greatest Showman. She is joined by Nobuo Uematsu, a legendary game music composer known for his contributi

                      LOREN ALLRED × NOBUO UEMATSU conTIKI - No Promises to Keep / THE FIRST TAKE
                    • Cleaner JavaScript promises with safe-await

                      Cleaner JavaScript promises with safe-awaitPublished on 22 May 2024Nested try/catch blocks are a common pattern in JavaScript when working with promises. However, they often lead to hard-to-read and maintain code. To better understand the problem, let's look at an example where we have a series of promises, each relying on the result of the previous one (or if you just want to skip to the solution

                        Cleaner JavaScript promises with safe-await
                      • Are you using promises and async / await safely in Node.js?

                        Are you using promises and async / await safely in Node.js? You’re building your Node.js server applications with a framework, and using promises and async / await. Mostly everything’s working well, but it can get confusing at times, especially when you need to handle errors. How do you know if you’re writing your async code correctly? And what happens if you’re not?! Promises and async / await ar

                          Are you using promises and async / await safely in Node.js?
                        • Terraform v1.x Compatibility Promises | Terraform | HashiCorp Developer

                          The release of Terraform v1.0 represents an important milestone in the development of the Terraform language and workflow. Terraform v1.0 is a stable platform for describing and managing infrastructure. In this release we're defining a number of Terraform behaviors that we intend to remain compatible with throughout the 1.x releases: A large subset of Terraform language features.A more conservativ

                            Terraform v1.x Compatibility Promises | Terraform | HashiCorp Developer
                          1

                          新着記事