writeAll abstract method

Future<void> writeAll(
  1. Stream<List<int>> chunks, {
  2. bool close = false,
})

Writes all chunks in order.

If chunks emits an error, that error is propagated and the output is left open so the caller can choose recovery behavior.

Implementation

Future<void> writeAll(Stream<List<int>> chunks, {bool close = false});