HTTPRequestHTTPRequest.enqueueInterceptAction版本:23.11.1本頁內容HTTPRequest.enqueueInterceptAction() 方法 將非同步請求處理常式新增至處理佇列。延遲處理常式不保證會以任何特定順序執行,但保證會在請求攔截完成之前解析。 簽名 class HTTPRequest { enqueueInterceptAction( pendingHandler: () => void | PromiseLike<unknown>, ): void;} 參數 參數類型描述pendingHandler() => void | PromiseLike<unknown> 回傳 void