fun <T> Promise<T>.asDeferred(): Deferred<T>
Platform and version requirements: JS
Converts this promise value to the instance of Deferred.