![]()
Marks a given class (constructor) as an implementation of Thenable, so
that we can query that fact at runtime. The class must have already
implemented the interface.
Exports a 'then' method on the constructor prototype, so that the objects
also implement the extern interface for interop with
other Promise implementations.
Arguments:
|
code » | ||
No description.
Arguments:
Returns: boolean
Whether a given instance implements
goog.Thenable .
The class/superclass of the instance must call addImplementation .
|
code » |