-
-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify /preview_url requests as low priority #3609
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise, 👍 👍
Co-authored-by: Richard van der Hoff <[email protected]>
@@ -33,7 +33,7 @@ export interface IHttpOpts { | |||
localTimeoutMs?: number; | |||
} | |||
|
|||
export interface IRequestOpts { | |||
export interface IRequestOpts extends Pick<RequestInit, "priority"> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still feel like we ought to document what happens to properties that are declared in this way, but whatever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs pick it up just fine, no? https://pr3609--js-sdk-docs-previews.netlify.app/stable/interfaces/irequestopts#priority
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I guess so
Fixes element-hq/element-web#7292
Here's what your changelog entry will look like:
✨ Features