new ()
read onlyfuture:Future<T>
read onlyisComplete:Bool
read onlyisError:Bool
complete (data:T):Promise<T>
completeWith (future:Future<T>):Promise<T>
error (msg:Dynamic):Promise<T>
progress (progress:Int, total:Int):Promise<T>