Skip to content
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

Add wait parameter to rate limits #131

Merged
merged 17 commits into from
Aug 12, 2022

Conversation

TAG-Epic
Copy link
Member

@TAG-Epic TAG-Epic commented Aug 9, 2022

This allows you to skip waiting for rate limits and instead receive a error.

This does however have the drawback that you still need it to be async.

This does also not update http wrappers or _request, as that is waiting for @ooliver1's #124

… set to False, will error instead of waiting.
@TAG-Epic TAG-Epic added scope/nextcore.common Any changes to the nextcore.common namespace type/feature A feature addition scope/nextcore.http Any changes to the nextcore.http namespace labels Aug 9, 2022
ooliver1
ooliver1 previously approved these changes Aug 11, 2022
@TAG-Epic
Copy link
Member Author

Going to add it to http wrappers first before merging

@TAG-Epic
Copy link
Member Author

There is a weird typing issue I really don't understand here https://github.com/nextsnake/nextcore/pull/131/files#diff-0a3a0c4c203f48e8a99ed5122db636a40e9c6e058afc284417f06fab5b274922R192 @ooliver1 do you have any ideas?

Co-authored-by: Oliver Wilkes <oliverwilkes2006@icloud.com>
@TAG-Epic TAG-Epic merged commit 6410f04 into master Aug 12, 2022
@TAG-Epic TAG-Epic deleted the tag-epic/feat/optional-ratelimit-waiting branch February 8, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/nextcore.common Any changes to the nextcore.common namespace scope/nextcore.http Any changes to the nextcore.http namespace type/feature A feature addition
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants