deno.com
method WriteStream.prototype.close
#WriteStream.prototype.close(callback?: (err?: ErrnoException | null) => void): void

Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed.

Parameters #

optional
#callback: (err?: ErrnoException | null) => void

Return Type #

void