Closure Library API Documentation
Go to class or file:
result_interface.js
No description.
Useful links
Source Code
Git
File Location
/goog/result/result_interface.js
Classes
goog.result.Result
A Result object represents a value returned by an asynchronous operation at some point in the future (e.g. a network fetch). This is akin to a 'Promise' or a 'Future' in other languages and frameworks.
goog.result.Result.CancelError
The value to be passed to the error handlers invoked upon cancellation.
Enumerations
Directory result
File Reference