-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ref(utils): refactor promisebuffer #4323
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
Conversation
d64f28a to
598896d
Compare
598896d to
29b6914
Compare
size-limit report
|
packages/utils/src/promisebuffer.ts
Outdated
| } | ||
|
|
||
| const promiseBuffer: PromiseBuffer<T> = { | ||
| _buffer: buffer, |
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.
do we have to expose the buffer as well?
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.
@AbhiPrasad nope, just dropped it. The buffer is stored as _buffer on BaseTransport which was misleading when I searched
6057902 to
4a7463f
Compare
* ref(utils): refactor promisebuffer * ref(utils): remove length and isReady from public api * ref(promisebuffer): remove _buffer * fix(lint): run linter * fix(promisebuffer): add back the promise buffer
No description provided.