mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Add the missing Streams API types needed for TextEncoderStream support: - WritableStream with locked/getWriter, supporting both JS sink callbacks and internal TransformStream routing - WritableStreamDefaultWriter with write/close/releaseLock/closed/ready - WritableStreamDefaultController with error() - TransformStream with readable/writable accessors, JS transformer callbacks (start/transform/flush), and Zig-level transform support - TransformStreamDefaultController with enqueue/error/terminate - TextEncoderStream that encodes string chunks to UTF-8 Uint8Array via a Zig-level transform function