import { Enumerable } from "https://deno.land/x/proc@0.21.2/src/enumerable.ts";
Dump output to a writer and close it.
This is a low-level asynchronous write of bytes without locking.
Parameters
writer: Deno.Writer & Deno.Closer
The target writer.