-
Notifications
You must be signed in to change notification settings - Fork 346
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
Implement brotli one shot methods #2660
Conversation
e797392
to
3f23a80
Compare
d6f1008
to
d09f138
Compare
d09f138
to
2b432c2
Compare
queueMicrotask(() => { | ||
if (error) { | ||
callback(new Error(error)); | ||
if (res instanceof Error) { |
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.
Nit: Is there a way to avoid this check on the runtime. Checking for truthy value vs. instanceof checks have different characteristics and runtime performance costs.
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'll look into whether some template voodoo is possible
Add more brotli tests
2b432c2
to
05f6554
Compare
No description provided.