Claude Pache (2013-08-02T10:14:03.000Z)
domenic at domenicdenicola.com (2013-08-05T20:04:33.228Z)
One more idea: a `Promise.register` function, which takes a class (i.e. a constructor) `C` as argument, and whose purpose is to declare that instances of `C` are to be treated as promises. Concretely, if the @@isPromise design is retained, that function can be implemented as following: ```js Promise.register = function(C) { C.prototype[@@isPromise] = true } ``` But the trick with the symbol is an implementation detail.