例如, HttpRequest.getString() 返回一個future 物件,因為HTTP 請求可能需要一段時間。當Future 完成並且保證字串值有效後,使用 then() 來執行你需要的程式碼:.
確定! 回上一頁