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
Wechaty might want to run inside the browser in the future.
Currently, the Message class need to output a File using the Stream API.
Message
File
Stream
The text was updated successfully, but these errors were encountered:
Mission cancelled because it seems that the ReadableStream between Node.js and DOM is not compatible.
interface ReadableStream { readonly locked: boolean; cancel(): Promise<void>; getReader(): ReadableStreamReader; }
export interface ReadableStream extends EventEmitter { readable: boolean; read(size?: number): string | Buffer; setEncoding(encoding: string): this; pause(): this; resume(): this; isPaused(): boolean; pipe<T extends WritableStream>(destination: T, options?: { end?: boolean; }): T; unpipe<T extends WritableStream>(destination?: T): this; unshift(chunk: string): void; unshift(chunk: Buffer): void; wrap(oldStream: ReadableStream): this; [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; }
Sorry, something went wrong.
No branches or pull requests
Wechaty might want to run inside the browser in the future.
Currently, the
Message
class need to output aFile
using theStream
API.See Also
The text was updated successfully, but these errors were encountered: