123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- goog.provide('goog.result.Result');
- goog.require('goog.Thenable');
- goog.result.Result = function() {};
- goog.result.Result.prototype.wait = function(handler, opt_scope) {};
- goog.result.Result.State = {
-
- SUCCESS: 'success',
-
- ERROR: 'error',
-
- PENDING: 'pending'
- };
- goog.result.Result.prototype.getState = function() {};
- goog.result.Result.prototype.getValue = function() {};
- goog.result.Result.prototype.getError = function() {};
- goog.result.Result.prototype.cancel = function() {};
- goog.result.Result.prototype.isCanceled = function() {};
- goog.result.Result.CancelError = function() {
-
-
-
- };
- goog.inherits(goog.result.Result.CancelError, Error);
|