Class: Result

Result

new Result()

A Result represents a promise for the result of an async operation. It implements the standardised Promise/A+ spec.

Methods

then(fulfilled, rejected) → {Result}

Chain a Result.
Parameters:
Name Type Description
fulfilled function The fulfilled callback
rejected function The rejected callback
Returns:
A new promise
Type
Result