We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
discord.js identifies streams by just checking if they have a Symbol.asyncIterator member:
Symbol.asyncIterator
if (typeof resource[Symbol.asyncIterator] === 'function') {
https://github.com/discordjs/discord.js/blob/a1a3a95c94194a8ab789d567a778b376e13ea973/packages/discord.js/src/util/DataResolver.js#L86
Unfortunately the nodejs streams emitted by jszip don't support the asyncIterator pattern, only the older event-based pattern.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
discord.js identifies streams by just checking if they have a
Symbol.asyncIterator
member:https://github.com/discordjs/discord.js/blob/a1a3a95c94194a8ab789d567a778b376e13ea973/packages/discord.js/src/util/DataResolver.js#L86
Unfortunately the nodejs streams emitted by jszip don't support the asyncIterator pattern, only the older event-based pattern.
The text was updated successfully, but these errors were encountered: