| Method Summary | |
|---|---|
| jsx3.$AsyncRV | and(rv : jsx3.$AsyncRV...) Creates and returns an asynchronous return value that completes when this and rv have completed. |
| jsx3.$AsyncRV | or(rv : jsx3.$AsyncRV...) Creates and returns an asynchronous return value that completes when this or rv have completed. |
| Object | rv() Returns the return value from the asynchronous method. |
| void | Registers code to be called when the asynchronous method completes. |
| Methods Inherited From Object |
|---|
| toString |
| Method Detail |
|---|
rv have completed.rv have completed.done() is called on corresponding callback object.
cb is a function, then that function will be called when the asynchronous method
completes. This function will be called synchronously is the function has already completed. The
asynchronous method return value will be passed as the only argument to the function.
If argument cb is an instance of jsx3.$AsyncCB, then its done() method
will be called when the asynchronous method completes. The done method will be passed the rv
argument it is is provided. Otherwise, it will be passed the return value of cb.