PromiseTWrapAsync Method |
Name | Description | |
---|---|---|
WrapAsync(Action0) |
Creates a promise and resolves it after invoking a callback
action, or rejects it if an exception is thrown.
The callback is always dispatched to the background.
| |
WrapAsyncR(Function0R) |
Creates a promise and resolves it using the result from a
callback function, or rejects it if an exception is thrown.
The callback is always dispatched to the background.
|