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
During file transfer, the stream never ends due to an error in the library.
Arguments are passed incorrectly to the constructor on line 299
Passed:
const stream = new MetaReadable({ id, name, size });
Expected:
class MetaReadable extends EventEmitter { constructor(id, name, size, options = {})
({ access: 'public', method: async ({ streamId }) => { const readable = context.client.getStream(streamId); const getChunks = async () => { console.log('start'); const chunks = []; for await (const chunk of readable) { chunks.push(chunk); } console.log('end'); }; getChunks(); return { result: 'Stream initialized' }; }, });
The stream should end.
No response
The text was updated successfully, but these errors were encountered:
Fixed: #497
Sorry, something went wrong.
Please try to use streams
No branches or pull requests
Describe the bug
During file transfer, the stream never ends due to an error in the library.
Arguments are passed incorrectly to the constructor on line 299
Passed:
Expected:
To Reproduce
Expected behavior
The stream should end.
Screenshots
No response
Desktop (please complete the following information):
Additional context
No response
The text was updated successfully, but these errors were encountered: