PROMISE Tiếng anh là gì - trong Tiếng anh Dịch S

Danh từ
promise
hứa
thề
cam kết
lời
lời hứa hẹn
promises
hứa
thề
cam kết
lời
lời hứa hẹn

Ví dụ về việc sử dụng Promise trong Tiếng việt và bản dịch của chúng sang Tiếng anh

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Lời bài hát The Promise.
Sing to the Promise?
Sử dụng Promise thay vì dùng callback.
Use promises rather than callbacks.
Lời bài hát A Promise.
This song is a promise.
Promise có thể ở một trong ba trạng thái.
A promise can be in one of three different states.
Kết quả trả ra là một Promise.
The returned result is a Promise.
Mình vẫn thích no promise hơn.
I like the no more promises thing.
Đây chính là một ví dụ về promise.
That is one example of a promise.
Bây giờ bạn đã biết cách promise được tạo ra.
Now you know how promises are made.
Bây giờ hãy xem một Promise bị rejected sẽ như thế nào.
Now let us look at a promise the will reject.
Chuyện này sẽ không xảy ra với promise.
That won't happen with WinterPromise.
Một Function được gọi khi Promise được thực hiện.
Creates a promise when the function is called.
Một Promise có 3 trạng thái pending, resolved và rejected.
A promise has 3 states: pending, resolved, rejected.
Trailer phim Lời Hứa The Promise.
The movie trailer of The Promise.
To stick to one' s promise+ trung thành với lời hứa của mình.
Faith- Faithful to one's word and promises; faithful to God's promises.
Adam Braun thành lập Pencils of Promise vào năm 2008.
Pencils of Promise was founded by Adam Braun in October 2008.
Sử dụng một phiên bản async để áp dụng resolved promise.
Use the asynchronous version of act to apply resolved promises.
Sau khoảng thời gian 10 giây thì promise sẽ được resolve.
Once the ten seconds are over the promise is resolved.
Hi vọng bài viết đã giúp các bạn hiểu được khái niệm Promise.
Hopefully the article has helped you understand the concept of Promise.
Vì vậy hãy tạo một Promise mà nó phải mất vài giây để resolve.
So let's create a Promise that takes a few seconds to resolve.
Async/ await là một cú pháp đặcbiệt giúp bạn làm việc với Promise dễ dàng hơn.
Async/await is a special language construct to make working with Promises easier.
Đoạn code trên tạo ra 1 promise, được resolve sau 10 giây.
The above code just creates a promise that will resolve unconditionally after 10 seconds.
Lưu ý rằng AJAX bao gồm thư viện JavaScript WebSockets cung cấp API Promise.
Note that the included AJAX over WebSockets JavaScript library provides a Promise API.
Vậy sau đó tôi có thể dùng được Fetch, promise, và control flow và tất cả phép màu của chúng.
So I can then use Fetch, promises, and control flow and all that magic.
Mục đích của async/ awaitlà làm đơn giản hóa quá trình sử dụng promise.
The purpose of async/awaitfunctions are to simplify the behavior of using promises synchronously.
Nếu chúng ta sử dụng promise bên ngoài một hàm async thì phải dùng tới callback.
If we use promises outside of async functions we will still need to use then callbacks.
Promise là một khái niệm khá hay, giúp cho việc viết code asynchonous( bất đồng bộ) dễ dàng hơn.
Promises are easy to understand, and make it easy to write asynchronous code.
Fetch cho phép cậu thực hiện AJAX nằm trong promise, sau này cậu có thể phân tách promise ra để tránh địa ngục callback.
Fetch allows you to do AJAX based in promises, which then you can resolve to avoid the callback hell.
Nếu mày không dùng Fetch, polyfill nó, hoặc dùng Bluebird, Request hay Axios,và xử lí tất cả promise với await.
If you don't have Fetch, polyfill it, or use Bluebird, Request or Axios,and handle all your promises with await.”.
Tôi nghĩ rằng một khi bạn có ý tưởng sử dụng callback và suy nghĩ cẩn thận về chúng thìkhông cần thêm sự phức tạp của promise.
I think once you got the idea of callbacks and wrap your head around them,then there's no need for additional complexity of promises.
Mặc dù, nhiều lúc viết code chúng ta sử dụng các thư viện bên ngoài khác để handle promise, việc hiểu được bản chất của Promise là vô cùng quan trọng.
Although, many times when writing code we use other external libraries to handle promises, understanding the nature of Promise is extremely important.
Kết quả: 456, Thời gian: 0.0264

Truy vấn từ điển hàng đầu

Tiếng việt - Tiếng anh