尝试保存PDF文件时,出现以下堆栈跟踪,并且未下载该文件: TypeError: Object expectedat Anonymous function (http://localhost:8080/applications/js/<my_custom_js_file>.js:288:12)
at Anonymous function (http://localhost:8080/applications/lib/
scala.concurrent.ExecutionContext.Implicits.global promise = Promise[String] // var because this needs to update it
promise.future在我看来,Promises/Futures是一个有点"FP