We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
octokit
onAbuseLimit
onRateLimit
1 parent 063174b commit cd5096eCopy full SHA for cd5096e
src/index.ts
@@ -132,7 +132,8 @@ export function throttling(octokit: Octokit, octokitOptions = {}) {
132
const wantRetry = await emitter.trigger(
133
"abuse-limit",
134
retryAfter,
135
- options
+ options,
136
+ octokit
137
);
138
return { wantRetry, retryAfter };
139
}
@@ -153,7 +154,8 @@ export function throttling(octokit: Octokit, octokitOptions = {}) {
153
154
155
"rate-limit",
156
157
158
159
160
161
0 commit comments