promise.Resolver
Resolver interface for promises. The resolver is a convenience interface that bundles the promise and its associated resolve and reject functions together, for cases where the resolver needs to be persisted internally.

Inheritance

Constructor

goog.promise.Resolver()

Instance Methods

Public Protected Private
reject()
Rejects this resolver with the specified reason.
code »
resolve()
Resolves this resolver with the specified value.
code »

Instance Properties

promise : goog.Promise
The promise that created this resolver.
Code »

Package promise

Package Reference