Request.priority
Invalid slug for templ/sidebar: orphaned/Web/API/Request/priority
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
priority
は Request
インターフェイスの読み取り専用プロパティで、このリクエストの、他のリクエストに対して相対的な優先度のヒントを保持します。
値
例
以下のスニペットでは、Request()
コンストラクターを使用して低い優先度で(API エンドポイント用の)新規リクエストを作成し、その優先度を変数に保存しています。
js
const myRequest = new Request('/background-api-call', { priority: 'low' });
const myPriority = myRequest.priority; // "low"
仕様書
No specification found
No specification data found for undefined
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.