Examples of using Asynchronous operation in English and their translations into Chinese
{-}
-
Political
-
Ecclesiastic
-
Programming
Calling resolve() triggers an asynchronous operation.
For example, asynchronous operations were added to DbCommand in. NET 4.5.
Promises(spec, MDN) are a powerful way to orchestrate asynchronous operations.
Fulfilled: The promise's asynchronous operation has completed successfully.
In Part 18 we willlearn a technique for managing a set of“parallel” asynchronous operations.
Fulfilled: The promise's asynchronous operation has completed successfully.
A Promise is an object representing the eventual completion orfailure of an asynchronous operation.
Fulfilled- the asynchronous operation has completed, and the promise has a value.
PPL(short for Parallel Patterns Library):the programming model for composing asynchronous operations.
Since loading from a database is an asynchronous operation, this returns a Promise.
Any asynchronous operation thus can immediately return a Promise on the result of its execution;
The same figure works in both cases because the idea being illustrated is the same-one asynchronous operation is waiting for another.
Rejected- the asynchronous operation failed, and the promise will never be fulfilled.
Pending- the promise's outcome hasn't yet been determined, because the asynchronous operation that will produce its result hasn't completed yet.
The API relies on asynchronous operations for setting up sessions against third-party services and data processing.
The Proactor pattern uses CompletionHandler interfaces that are implemented by the application for Asynchronous Operation completion notification.
Which in turn means you cannot use both asynchronous operations and the easily mocked abstract interface at the same time.
Asynchronous Operations are run to completion by the Asynchronous Operation Processor.
The first Bolts component that is available on GitHub is Tasks,aimed at handling asynchronous operations according to the JavaScript Promises model.
Use asynchronous operations as a standard approach, especially with operations that involve large numbers of rows.
Sockets::TcpClient classes, you will enjoy working with the experimental TCP client and listener andits simpler non-blocking asynchronous operations.
Rejected: The promise's asynchronous operation didn't complete successfully due to either an error or some other cause.
In other words, if an operation is asynchronous(i.e. encapsulated in a promise)it should be able to wait for another asynchronous operation to finish.
Once the asynchronous operation completes, the promise is considered settled and enters one of two possible states:.
In other words, if an operation is asynchronous(i.e. encapsulated in a promise)it should be able to wait for another asynchronous operation to finish.
Once the asynchronous operation completes, the promise is considered settled and enters one of two possible states:.
Depending on the library that uses asynchronous operations, you might pass in a set of callbacks(e.g. for success or failure).
Notification of asynchronous operation completion is handled via a webhook mechanism, whereby events are sent to a client's server through standard HTTP requests.
As long as the functions performing asynchronous operations all conform to the same interface, you can write logic that reads like synchronous code.
Rejected: The promise's asynchronous operation didn't complete successfully due to either an error or some other cause.