Brian Quinlan

Results 168 comments of Brian Quinlan

I'd love it too. A good first step would be to generate code for classes that don't appear in the `@HostAPI` class so that the user can manually serialize them...

Sorry for dropping the call on this - a PR to mention that `Process` will not work at all on iOS and should probably not be used on Android would...

https://github.com/dart-lang/http/issues/938 may be related

Could changing the behavior back not break people relying on the new behavior?

I think that this PR at least partially fixes this issue: https://github.com/brendan-duncan/archive/pull/337

Your third option SGTM! The relevant semantic change to Dart is: ```dart final compressedData = [ ...ZLibEncoder(gzip: gzip, strategy: strategy).convert([1, 2, 3]), ...ZLibEncoder(gzip: gzip, strategy: strategy).convert([4, 5, 6]) ]; final...

Hey @brendan-duncan , We use `package:archive` at google directly and as part of GRPC so thank you so much for your effort!

On my macOS machine, @christopherfujino 's example is racy: 1. The output is either the same OR 2. There is no output at all (presumably that is https://github.com/dart-lang/sdk/issues/54735)

I see the same exception without the `flush` call i.e. ```dart import 'dart:async'; import 'dart:io'; Future main() async { try { final process = await Process.start('echo', const []); process.stdin.add([1, 2,...

Here is the problem: - [`_NativeSocket.write` reports the error using `scheduleMicrotask`](https://github.com/dart-lang/sdk/blob/79cd9a6655681bcacce52fdf8e08a7a0856fed7f/sdk/lib/_internal/vm/bin/socket_patch.dart#L1247) - The [`_RawSocket` error handler receives the error and adds it to it's `StreamController`](https://github.com/dart-lang/sdk/blob/79cd9a6655681bcacce52fdf8e08a7a0856fed7f/sdk/lib/_internal/vm/bin/socket_patch.dart#L1948) - [_Socket] is listening and...