Async operations
Customisation point for the async package or any concurrency
framework that defines a "then" operation. Assign the result of
async_ops()
to the .__coro_async_ops__.
symbol in your
namespace.
async_ops(package, then, as_promise)
package |
The package name of the framework as a
string. |
then |
A function of two arguments. The first argument is a
promise object (as created by |
as_promise |
A function of one argument. It should be a no-op when passed a promise object, and otherwise wrap the value in a resolved promise. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.